Skip to content

Commit 602fd29

Browse files
committed
types: remove all Result returns for ExtData
This arguably belongs in the previous commit but it's invasive and entirely mechanical so I'm putting it in its own commit.
1 parent b6c3ca8 commit 602fd29

File tree

3 files changed

+82
-91
lines changed

3 files changed

+82
-91
lines changed

src/miniscript/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ mod tests {
940940
phantom: PhantomData,
941941
})),
942942
ty: Type::cast_check(Type::from_pk_h::<Segwitv0>()).unwrap(),
943-
ext: ExtData::cast_check(ExtData::pk_h::<Segwitv0>()).unwrap(),
943+
ext: ExtData::cast_check(ExtData::pk_h::<Segwitv0>()),
944944
phantom: PhantomData,
945945
};
946946

0 commit comments

Comments
 (0)