Skip to content

Commit 52987d6

Browse files
committed
Fix MSRV incompatibility
1 parent 0b374a7 commit 52987d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ mod tests {
479479
}
480480

481481
for String {
482-
String::from("hello world") => Ok(v) if v.as_str() == "hello world",
482+
String::from("hello world") => Ok(ref v) if v.as_str() == "hello world",
483483
"hello world" => Err("hello world"),
484484
}
485485

0 commit comments

Comments
 (0)