Skip to content

Commit a294a04

Browse files
Scott Owensfacebook-github-bot
authored andcommitted
More lint fixes
Summary: ^ Differential Revision: D78563233 fbshipit-source-id: 6a47721f706afea3eb47d8469117f9c29e6c744d
1 parent f41d4e5 commit a294a04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ocamlrep/test/test_from_ocamlrep.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn expected_int_but_got_block() {
2626
let err = isize::from_ocamlrep(value).err().unwrap();
2727
match err {
2828
ExpectedInt(..) => {}
29-
_ => panic!("unexpected error: {}", err),
29+
_ => panic!("unexpected error: {err}"),
3030
}
3131
}
3232

@@ -132,7 +132,7 @@ fn expected_unit_struct_but_got_block() {
132132
let err = UnitStruct::from_ocamlrep(value).err().unwrap();
133133
match err {
134134
ExpectedInt(..) => {}
135-
_ => panic!("unexpected error: {}", err),
135+
_ => panic!("unexpected error: {err}"),
136136
}
137137
}
138138

0 commit comments

Comments
 (0)