diff --git a/src/string.rs b/src/string.rs index b1afb2a..cc8e22e 100644 --- a/src/string.rs +++ b/src/string.rs @@ -100,6 +100,7 @@ pub trait RetainMoreString: sealed::AllocMoreSealedString { } } +// Future work - support this for strings with all allocators once/if lands impl RetainMoreString for String { fn retain_all bool>(&mut self, mut f: F) { let len = self.len();