We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 89e73d5 + 0082d20 commit 51ba922Copy full SHA for 51ba922
library/alloc/src/vec.rs
@@ -412,7 +412,7 @@ impl<T> Vec<T> {
412
/// (at least, it's highly likely to be incorrect if it wasn't).
413
/// * `T` needs to have the same size and alignment as what `ptr` was allocated with.
414
/// (`T` having a less strict alignment is not sufficient, the alignment really
415
- /// needs to be equal to satsify the [`dealloc`] requirement that memory must be
+ /// needs to be equal to satisfy the [`dealloc`] requirement that memory must be
416
/// allocated and deallocated with the same layout.)
417
/// * `length` needs to be less than or equal to `capacity`.
418
/// * `capacity` needs to be the capacity that the pointer was allocated with.
0 commit comments