about summary refs log tree commit diff
diff options
context:
space:
mode:
authorfollower <follower@rancidbacon.com>2020-09-22 20:54:07 +1200
committerGitHub <noreply@github.com>2020-09-22 20:54:07 +1200
commit0082d201f1ea8ce106f1c71562d5f2d0d2e35513 (patch)
treea7143ef39a90955675814184c97e14add82b7e78
parent44ae0b8b2def2a26b82e0a93f8c8c2c523cc3643 (diff)
downloadrust-0082d201f1ea8ce106f1c71562d5f2d0d2e35513.tar.gz
rust-0082d201f1ea8ce106f1c71562d5f2d0d2e35513.zip
Typo fix: "satsify" -> "satisfy"
-rw-r--r--library/alloc/src/vec.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs
index 8c0b6af5482..d3845cbbc5e 100644
--- a/library/alloc/src/vec.rs
+++ b/library/alloc/src/vec.rs
@@ -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.