diff options
| author | Christopher Durham <cad97@cad97.com> | 2019-11-09 18:28:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-09 18:28:41 -0500 |
| commit | b9da350b09385dd969f5da3c3f9be0b356897099 (patch) | |
| tree | 665346d9c1a54d1386e65afceddaf6ac5ee833fc /src/libcore | |
| parent | b688d480a6a90b995f3142f0db3338cad14f17c9 (diff) | |
| download | rust-b9da350b09385dd969f5da3c3f9be0b356897099.tar.gz rust-b9da350b09385dd969f5da3c3f9be0b356897099.zip | |
Fix typo
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/alloc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/alloc.rs b/src/libcore/alloc.rs index 7d621090f07..d08440192b0 100644 --- a/src/libcore/alloc.rs +++ b/src/libcore/alloc.rs @@ -225,7 +225,7 @@ impl Layout { // > `usize::MAX`) let new_size = self.size() + pad; - // SAFETY: This necessarily respectes the from_size_align + // SAFETY: This necessarily respects the from_size_align // prerequisites per the above. unsafe { Layout::from_size_align_unchecked(new_size, self.align()) } } |
