Skip to content

Commit 1775f48

Browse files
authored
Update std::alloc::System docs
1 parent 2de3bd6 commit 1775f48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/alloc.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ pub use alloc_crate::alloc::*;
102102
/// if !ret.is_null() {
103103
/// ALLOCATED.fetch_add(layout.size(), SeqCst);
104104
/// }
105-
/// return ret
105+
/// ret
106106
/// }
107107
///
108108
/// unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {

0 commit comments

Comments
 (0)