about summary refs log tree commit diff
path: root/library/alloc
diff options
context:
space:
mode:
authorJeremy Smart <jeremy3141592@gmail.com>2025-06-06 13:07:24 -0400
committerJeremy Smart <jeremy3141592@gmail.com>2025-06-06 19:22:15 -0400
commitcc8042902119267066017d8b5ba63552a990f46d (patch)
tree33c5e3abed9526ab77cdb768a3fecb8f878d675b /library/alloc
parent188c40126dbda835e80238ea70eaef7d09e3e167 (diff)
downloadrust-cc8042902119267066017d8b5ba63552a990f46d.tar.gz
rust-cc8042902119267066017d8b5ba63552a990f46d.zip
fix tests
Diffstat (limited to 'library/alloc')
-rw-r--r--library/alloc/src/vec/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/vec/mod.rs b/library/alloc/src/vec/mod.rs
index 8763ce674be..96d082aba22 100644
--- a/library/alloc/src/vec/mod.rs
+++ b/library/alloc/src/vec/mod.rs
@@ -747,6 +747,7 @@ impl<T> Vec<T> {
     /// Basic usage:
     ///
     /// ```
+    /// #![feature(vec_peek_mut)]
     /// let mut vec = Vec::new();
     /// assert!(vec.peek_mut().is_none());
     ///