diff options
| -rw-r--r-- | src/libcollections/string.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs index cefdabac097..0e3d2f02ae9 100644 --- a/src/libcollections/string.rs +++ b/src/libcollections/string.rs @@ -1290,7 +1290,7 @@ mod tests { fn test_str_add() { let a = String::from_str("12345"); let b = a + "2"; - let b = b + String::from_str("2"); + let b = b + "2"; assert_eq!(b.len(), 7); assert_eq!(b, "1234522"); } |
