FEAT: Change .insert() and .remove() to match Vec

- Add try_insert / try_remove to be the old fallible variants that
  return errors
- Insert that pushes out if full does no longer exist -- full vec is an
  error
This commit is contained in:
bluss
2017-07-30 12:50:04 +02:00
parent 29497206da
commit 5dcb5ab2c7
3 changed files with 132 additions and 43 deletions
+3
View File
@@ -27,6 +27,9 @@ default-features = false
[dev-dependencies.serde_test]
version = "1.0"
[dev-dependencies]
matches = { version = "0.1" }
[features]
default = ["std"]
std = ["odds/std", "nodrop/std"]