The one and only string type in Rust
# use str; use Deref;
let foo: &str = "foo".into;
let expected: &str = "foobar".into;
let mut foobar = foo.to_owned;
foobar.push_str;
assert_eq!;
The one and only string type in Rust
# use str; use Deref;
let foo: &str = "foo".into;
let expected: &str = "foobar".into;
let mut foobar = foo.to_owned;
foobar.push_str;
assert_eq!;