diff options
| author | scottmcm <scottmcm@users.noreply.github.com> | 2020-09-07 02:30:42 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-07 02:30:42 +0000 |
| commit | 3d89ee9586354e736cfe4a472d8aaa507d10f77c (patch) | |
| tree | 2aa744bf2c8390b9184cc0867bef457d89b1b240 | |
| parent | 2c8a4c8f73e8b36e72b15e7f97ef29ad36c15e17 (diff) | |
| download | rust-3d89ee9586354e736cfe4a472d8aaa507d10f77c.tar.gz rust-3d89ee9586354e736cfe4a472d8aaa507d10f77c.zip | |
Typo fix
Thanks, Amanieu Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
| -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 4a263829bd4..ccba23f6848 100644 --- a/library/alloc/src/vec.rs +++ b/library/alloc/src/vec.rs @@ -2813,7 +2813,7 @@ impl<T, const N: usize> TryFrom<Vec<T>> for [T; N] { // SAFETY: `.set_len(0)` is always sound. unsafe { vec.set_len(0) }; - // SAFETY: A `Vec`'s pointer is always aligned property, and + // SAFETY: A `Vec`'s pointer is always aligned properly, and // the alignment the array needs is the same as the items. // We checked earlier that we have sufficient items. // The items will not double-drop as the `set_len` |
