Skip to content

Commit 8678623

Browse files
committed
Make clion shut up about this rust error
1 parent 5271897 commit 8678623

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/tests/binary_view.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ fn test_binary_view_strings() {
109109
let string = view
110110
.read_c_string_at(str_15dc.start, str_15dc.length)
111111
.expect("Failed to read string");
112-
assert_eq!(string, c"Microsoft (R) Optimizing Compiler");
112+
assert_eq!(string, c"Microsoft (R) Optimizing Compiler".into());
113113
}
114114

115115
#[test]

0 commit comments

Comments
 (0)