]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/alloc.rs
Capitalize safety comments
[rust.git] / library / std / src / alloc.rs
index 64d8edf33bd3bcf393e9d94e028f3ea07849a8e0..770c97899f00253b5f429547e0d19c35696dacd6 100644 (file)
@@ -149,7 +149,7 @@ fn alloc_impl(&mut self, layout: Layout, zeroed: bool) -> Result<NonNull<[u8]>,
         }
     }
 
-    // Safety: Same as `AllocRef::grow`
+    // SAFETY: Same as `AllocRef::grow`
     #[inline]
     unsafe fn grow_impl(
         &mut self,