We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0126e8 commit a3c8577Copy full SHA for a3c8577
src/libcore/alloc.rs
@@ -137,7 +137,7 @@ impl Layout {
137
#[inline]
138
pub fn for_value<T: ?Sized>(t: &T) -> Self {
139
let (size, align) = (mem::size_of_val(t), mem::align_of_val(t));
140
- // See rationale in `new` for why this us using an unsafe variant below
+ // See rationale in `new` for why this is using an unsafe variant below
141
debug_assert!(Layout::from_size_align(size, align).is_ok());
142
unsafe {
143
Layout::from_size_align_unchecked(size, align)
0 commit comments