about summary refs log tree commit diff
path: root/library/alloc/src/lib.rs
diff options
context:
space:
mode:
authorKornel <kornel@geekhood.net>2024-01-30 16:08:57 +0000
committerKornel <kornel@geekhood.net>2024-03-01 18:24:02 +0000
commit78fb977d6b600865b7887245d24f6dca22a0099a (patch)
tree88991f8cce8dc9f313eb04610043eae91dd8f920 /library/alloc/src/lib.rs
parentf27a22c24a51ba734e4eb25c499320d819ebe236 (diff)
downloadrust-78fb977d6b600865b7887245d24f6dca22a0099a.tar.gz
rust-78fb977d6b600865b7887245d24f6dca22a0099a.zip
try_with_capacity for Vec, VecDeque, String
#91913
Diffstat (limited to 'library/alloc/src/lib.rs')
-rw-r--r--library/alloc/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 28695ade5bf..ca504b05a96 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -163,6 +163,7 @@
 #![feature(trusted_len)]
 #![feature(trusted_random_access)]
 #![feature(try_trait_v2)]
+#![feature(try_with_capacity)]
 #![feature(tuple_trait)]
 #![feature(unchecked_math)]
 #![feature(unicode_internals)]