We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 176b965 commit 66369a6Copy full SHA for 66369a6
library/alloc/src/vec.rs
@@ -1476,7 +1476,8 @@ impl<T> Vec<T> {
1476
/// `'a`. If the type has only static references, or none at all, then this
1477
/// may be chosen to be `'static`.
1478
///
1479
- /// This function is similar to the [`leak`][Box::leak] function on [`Box`].
+ /// This function is similar to the [`leak`][Box::leak] function on [`Box`]
1480
+ /// except there are no way to undo the leak yet.
1481
1482
/// This function is mainly useful for data that lives for the remainder of
1483
/// the program's life. Dropping the returned reference will cause a memory
0 commit comments