Skip to content
/ rust Public
forked from rust-lang/rust

Commit

Permalink
Rollup merge of rust-lang#136672 - safinaskar:alloc-2025-02-07-09-10,…
Browse files Browse the repository at this point in the history
… r=cuviper

library: doc: core::alloc::Allocator: trivial typo fix

(see subject)
  • Loading branch information
jhpratt authored Feb 11, 2025
2 parents 7a6592d + ac31e95 commit 5fb4f2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/alloc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl fmt::Display for AllocError {
/// - the memory block is deallocated, or
/// - the allocator is dropped.
///
/// Copying, cloning, or moving the allocator must not invalidate memory blocks returned from it
/// Copying, cloning, or moving the allocator must not invalidate memory blocks returned from it.
/// A copied or cloned allocator must behave like the original allocator.
///
/// A memory block which is [*currently allocated*] may be passed to
Expand Down

0 comments on commit 5fb4f2e

Please sign in to comment.