We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66369a6 commit 8688fa8Copy full SHA for 8688fa8
library/alloc/src/vec.rs
@@ -1477,7 +1477,7 @@ impl<T> Vec<T> {
1477
/// may be chosen to be `'static`.
1478
///
1479
/// This function is similar to the [`leak`][Box::leak] function on [`Box`]
1480
- /// except there are no way to undo the leak yet.
+ /// except that there is no way to recover the leaked memory.
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