diff options
Diffstat (limited to 'src/libstd/vec.rs')
| -rw-r--r-- | src/libstd/vec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index 24330584714..81f6c7c7c9b 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -1850,9 +1850,9 @@ mod tests { let b: ~[u8] = FromVec::from_vec(a); assert_eq!(b.as_slice(), &[]); - let a = vec!["one".to_strbuf(), "two".to_strbuf()]; + let a = vec!["one".to_string(), "two".to_string()]; let b: ~[String] = FromVec::from_vec(a); - assert_eq!(b.as_slice(), &["one".to_strbuf(), "two".to_strbuf()]); + assert_eq!(b.as_slice(), &["one".to_string(), "two".to_string()]); struct Foo { x: uint, |
