diff options
| author | hattizai <hattizai@gmail.com> | 2024-07-02 11:25:31 +0800 |
|---|---|---|
| committer | hattizai <hattizai@gmail.com> | 2024-07-02 11:25:31 +0800 |
| commit | ada9fda7c38b1be39b4e8273ee6af150985df064 (patch) | |
| tree | 33b961ea91ffae5597fb7380990546a9d3b196ed /library/std/src/sys/pal/windows/alloc.rs | |
| parent | c3774be7411722d3695de2ab1da9a358d0d5c82c (diff) | |
| download | rust-ada9fda7c38b1be39b4e8273ee6af150985df064.tar.gz rust-ada9fda7c38b1be39b4e8273ee6af150985df064.zip | |
chore: remove duplicate words
Diffstat (limited to 'library/std/src/sys/pal/windows/alloc.rs')
| -rw-r--r-- | library/std/src/sys/pal/windows/alloc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/pal/windows/alloc.rs b/library/std/src/sys/pal/windows/alloc.rs index 681d1a5efe9..24c237b5eb0 100644 --- a/library/std/src/sys/pal/windows/alloc.rs +++ b/library/std/src/sys/pal/windows/alloc.rs @@ -190,7 +190,7 @@ unsafe fn allocate(layout: Layout, zeroed: bool) -> *mut u8 { // it, it is safe to write a header directly before it. unsafe { ptr::write((aligned as *mut Header).sub(1), Header(ptr)) }; - // SAFETY: The returned pointer does not point to the to the start of an allocated block, + // SAFETY: The returned pointer does not point to the start of an allocated block, // but there is a header readable directly before it containing the location of the start // of the block. aligned |
