Skip to content

Commit 00a0a58

Browse files
committed
Any allocator support comment
rust-lang/rust#79500
1 parent ecd8f5a commit 00a0a58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/string.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ pub trait RetainMoreString: sealed::AllocMoreSealedString {
100100
}
101101
}
102102

103+
// Future work - support this for strings with all allocators once/if <https://github.com/rust-lang/rust/pull/79500> lands
103104
impl RetainMoreString for String {
104105
fn retain_all<F: FnMut(&mut str, char, &mut str) -> bool>(&mut self, mut f: F) {
105106
let len = self.len();

0 commit comments

Comments
 (0)