Skip to content

Commit aaf2c46

Browse files
authored
Rollup merge of #136672 - safinaskar:alloc-2025-02-07-09-10, r=cuviper
library: doc: core::alloc::Allocator: trivial typo fix (see subject)
2 parents 67e4e3a + ac31e95 commit aaf2c46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/alloc/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl fmt::Display for AllocError {
9494
/// - the memory block is deallocated, or
9595
/// - the allocator is dropped.
9696
///
97-
/// Copying, cloning, or moving the allocator must not invalidate memory blocks returned from it
97+
/// Copying, cloning, or moving the allocator must not invalidate memory blocks returned from it.
9898
/// A copied or cloned allocator must behave like the original allocator.
9999
///
100100
/// A memory block which is [*currently allocated*] may be passed to

0 commit comments

Comments
 (0)