Skip to content

Commit 51ba922

Browse files
Rollup merge of rust-lang#77050 - follower:patch-1, r=oli-obk
Typo fix: "satsify" -> "satisfy"
2 parents 89e73d5 + 0082d20 commit 51ba922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/alloc/src/vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ impl<T> Vec<T> {
412412
/// (at least, it's highly likely to be incorrect if it wasn't).
413413
/// * `T` needs to have the same size and alignment as what `ptr` was allocated with.
414414
/// (`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
415+
/// needs to be equal to satisfy the [`dealloc`] requirement that memory must be
416416
/// allocated and deallocated with the same layout.)
417417
/// * `length` needs to be less than or equal to `capacity`.
418418
/// * `capacity` needs to be the capacity that the pointer was allocated with.

0 commit comments

Comments
 (0)