]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/alloc.rs
Rollup merge of #58595 - stjepang:make-duration-consts-associated, r=oli-obk
[rust.git] / src / libcore / alloc.rs
index 66a3094d77d016bf4480d2f302f2e9f47175f772..f49e226a5cb68ed04b5064008cb102f41982ca5c 100644 (file)
@@ -425,7 +425,7 @@ fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
 /// The `GlobalAlloc` trait is an `unsafe` trait for a number of reasons, and
 /// implementors must ensure that they adhere to these contracts:
 ///
-/// * It's undefined behavior if global allocators unwind.  This restriction may
+/// * It's undefined behavior if global allocators unwind. This restriction may
 ///   be lifted in the future, but currently a panic from any of these
 ///   functions may lead to memory unsafety.
 ///