We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5479546 commit 735aa22Copy full SHA for 735aa22
tests/chunk.rs
@@ -42,7 +42,7 @@ fn test_chunk_impls() -> Result<()> {
42
43
// StdString
44
assert_eq!(lua.load(String::from("1")).eval::<i32>()?, 1);
45
- assert_eq!(lua.load(&*String::from("2")).eval::<i32>()?, 2);
+ assert_eq!(lua.load(&String::from("2")).eval::<i32>()?, 2);
46
47
// &[u8]
48
assert_eq!(lua.load(&b"3"[..]).eval::<i32>()?, 3);
0 commit comments