]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/alloc.rs
Auto merge of #98817 - the8472:dont-optimize-ui-tests, r=Mark-Simulacrum
[rust.git] / library / std / src / alloc.rs
index d554ec590358fd6f37d7745fbb18ba8dfd794961..a05e0db3af71663a3ff7596773e16940b90207dc 100644 (file)
 ///         if !ret.is_null() {
 ///             ALLOCATED.fetch_add(layout.size(), SeqCst);
 ///         }
-///         return ret
+///         ret
 ///     }
 ///
 ///     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {