about summary refs log tree commit diff
path: root/library/std/src/lib.rs
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2024-09-24 13:33:31 -0700
committerJosh Stone <jistone@redhat.com>2024-09-24 13:33:31 -0700
commit1e9a50dde8fe417348a9e4c74787975527502ec3 (patch)
tree24a60042938bdbac627ff87234b91a092950f688 /library/std/src/lib.rs
parentee129b12ede79fd8cf7e398cf955941b62e58974 (diff)
downloadrust-1e9a50dde8fe417348a9e4c74787975527502ec3.tar.gz
rust-1e9a50dde8fe417348a9e4c74787975527502ec3.zip
Pre-allocate buffers in `File::open_buffered` and `create_buffered`
Diffstat (limited to 'library/std/src/lib.rs')
-rw-r--r--library/std/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/lib.rs b/library/std/src/lib.rs
index 4d93af6ea65..b81e7c18abb 100644
--- a/library/std/src/lib.rs
+++ b/library/std/src/lib.rs
@@ -374,6 +374,7 @@
 #![feature(slice_concat_trait)]
 #![feature(thin_box)]
 #![feature(try_reserve_kind)]
+#![feature(try_with_capacity)]
 #![feature(vec_into_raw_parts)]
 // tidy-alphabetical-end
 //