mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-18 10:38:11 +00:00
library: doc: core::alloc::Allocator: trivial typo fix
This commit is contained in:
parent
942db6782f
commit
ac31e9572b
@ -94,7 +94,7 @@ impl fmt::Display for AllocError {
|
|||||||
/// - the memory block is deallocated, or
|
/// - the memory block is deallocated, or
|
||||||
/// - the allocator is dropped.
|
/// - 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 copied or cloned allocator must behave like the original allocator.
|
||||||
///
|
///
|
||||||
/// A memory block which is [*currently allocated*] may be passed to
|
/// A memory block which is [*currently allocated*] may be passed to
|
||||||
|
Loading…
Reference in New Issue
Block a user