]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/ptr/mod.rs
Rollup merge of #107096 - clubby789:fluent-bad-messageref, r=compiler-errors
[rust.git] / library / core / src / ptr / mod.rs
index 5f30029eaa07d5c8d9be41bd6a6f221e13b0b43e..1ad9af1549a47fcdf12e46b391e12891c2fba0bd 100644 (file)
@@ -1701,7 +1701,7 @@ pub unsafe fn write_volatile<T>(dst: *mut T, src: T) {
         // offset is not a multiple of `stride`, the input pointer was misaligned and no pointer
         // offset will be able to produce a `p` aligned to the specified `a`.
         //
-        // The naive `-p (mod a)` equation  inhibits LLVM's ability to select instructions
+        // The naive `-p (mod a)` equation inhibits LLVM's ability to select instructions
         // like `lea`. We compute `(round_up_to_next_alignment(p, a) - p)` instead. This
         // redistributes operations around the load-bearing, but pessimizing `and` instruction
         // sufficiently for LLVM to be able to utilize the various optimizations it knows about.