Rollup merge of #136672 - safinaskar:alloc-2025-02-07-09-10, r=cuviper

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

(see subject)
This commit is contained in:
Jacob Pratt 2025-02-11 01:02:39 -05:00 committed by GitHub
commit aaf2c46202
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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