We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b68bb6c commit 02b080aCopy full SHA for 02b080a
alloc/src/vec.rs
@@ -2813,7 +2813,7 @@ impl<T, const N: usize> TryFrom<Vec<T>> for [T; N] {
2813
// SAFETY: `.set_len(0)` is always sound.
2814
unsafe { vec.set_len(0) };
2815
2816
- // SAFETY: A `Vec`'s pointer is always aligned property, and
+ // SAFETY: A `Vec`'s pointer is always aligned properly, and
2817
// the alignment the array needs is the same as the items.
2818
// We checked earlier that we have sufficient items.
2819
// The items will not double-drop as the `set_len`
0 commit comments