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 b688d48 commit b9da350Copy full SHA for b9da350
src/libcore/alloc.rs
@@ -225,7 +225,7 @@ impl Layout {
225
// > `usize::MAX`)
226
let new_size = self.size() + pad;
227
228
- // SAFETY: This necessarily respectes the from_size_align
+ // SAFETY: This necessarily respects the from_size_align
229
// prerequisites per the above.
230
unsafe { Layout::from_size_align_unchecked(new_size, self.align()) }
231
}
0 commit comments