diff options
| author | Jonas Schievink <jonasschievink@gmail.com> | 2020-09-25 02:29:37 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-25 02:29:37 +0200 |
| commit | 862faea4bea9ff45563aaefca2a5d6047242c75f (patch) | |
| tree | 2c1da5ae44ab1575bb18ac7cbf3614db91a526c2 | |
| parent | 67bcf04bdbc646e13fa424a8b597dc35a2df9854 (diff) | |
| parent | 0082d201f1ea8ce106f1c71562d5f2d0d2e35513 (diff) | |
| download | rust-862faea4bea9ff45563aaefca2a5d6047242c75f.tar.gz rust-862faea4bea9ff45563aaefca2a5d6047242c75f.zip | |
Rollup merge of #77050 - follower:patch-1, r=oli-obk
Typo fix: "satsify" -> "satisfy"
| -rw-r--r-- | library/alloc/src/vec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/alloc/src/vec.rs b/library/alloc/src/vec.rs index 8a9463cb518..c54b3aef95e 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. |
