Skip to content

Commit b9da350

Browse files
CAD97Centril
andauthored
Fix typo
Co-Authored-By: Mazdak Farrokhzad <[email protected]>
1 parent b688d48 commit b9da350

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/alloc.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl Layout {
225225
// > `usize::MAX`)
226226
let new_size = self.size() + pad;
227227

228-
// SAFETY: This necessarily respectes the from_size_align
228+
// SAFETY: This necessarily respects the from_size_align
229229
// prerequisites per the above.
230230
unsafe { Layout::from_size_align_unchecked(new_size, self.align()) }
231231
}

0 commit comments

Comments
 (0)