We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 25a27a7 commit bafe1e5Copy full SHA for bafe1e5
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "string-wrapper"
3
-version = "0.1.4"
+version = "0.1.5"
4
authors = ["Simon Sapin <[email protected]>"]
5
license = "MIT / Apache-2.0"
6
repository = "https://github.com/SimonSapin/rust-std-candidates"
lib.rs
@@ -305,12 +305,6 @@ fn it_works() {
305
assert_eq!(s.capacity(), 10);
306
assert_eq!(s.extra_capacity(), 4);
307
308
- s.truncate(8);
309
- assert_eq!(&*s, "aé~~~");
310
- assert_eq!(s.len(), 6);
311
- assert_eq!(s.capacity(), 10);
312
- assert_eq!(s.extra_capacity(), 4);
313
-
314
assert_eq!(s.push_partial_str("_🌠"), Err(1));
315
assert_eq!(&*s, "aé~~~_");
316
assert_eq!(s.len(), 7);
0 commit comments