We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f41d4e5 commit a294a04Copy full SHA for a294a04
ocamlrep/test/test_from_ocamlrep.rs
@@ -26,7 +26,7 @@ fn expected_int_but_got_block() {
26
let err = isize::from_ocamlrep(value).err().unwrap();
27
match err {
28
ExpectedInt(..) => {}
29
- _ => panic!("unexpected error: {}", err),
+ _ => panic!("unexpected error: {err}"),
30
}
31
32
@@ -132,7 +132,7 @@ fn expected_unit_struct_but_got_block() {
132
let err = UnitStruct::from_ocamlrep(value).err().unwrap();
133
134
135
136
137
138
0 commit comments