Skip to content

Commit 2ed2402

Browse files
jhprattgitbot
authored and
gitbot
committed
Rollup merge of rust-lang#136672 - safinaskar:alloc-2025-02-07-09-10, r=cuviper
library: doc: core::alloc::Allocator: trivial typo fix (see subject)
2 parents 72830f4 + ef09740 commit 2ed2402

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)