Skip to content

Commit

Permalink
Rollup merge of rust-lang#77050 - follower:patch-1, r=oli-obk
Browse files Browse the repository at this point in the history
Typo fix: "satsify" -> "satisfy"
  • Loading branch information
ecstatic-morse committed Sep 22, 2020
2 parents 89e73d5 + 0082d20 commit 51ba922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/src/vec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ impl<T> Vec<T> {
/// (at least, it's highly likely to be incorrect if it wasn't).
/// * `T` needs to have the same size and alignment as what `ptr` was allocated with.
/// (`T` having a less strict alignment is not sufficient, the alignment really
/// 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
/// allocated and deallocated with the same layout.)
/// * `length` needs to be less than or equal to `capacity`.
/// * `capacity` needs to be the capacity that the pointer was allocated with.
Expand Down

0 comments on commit 51ba922

Please sign in to comment.