From 3d89ee9586354e736cfe4a472d8aaa507d10f77c Mon Sep 17 00:00:00 2001 From: scottmcm Date: Mon, 7 Sep 2020 02:30:42 +0000 Subject: [PATCH] Typo fix Thanks, Amanieu Co-authored-by: Amanieu d'Antras --- library/alloc/src/vec.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 TryFrom> 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`