Skip to content

Commit

Permalink
Change "attributes" to "attribute" in Alloc's docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kraai committed Dec 8, 2019
1 parent cca954e commit 9e8505d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ impl fmt::Display for CannotReallocInPlace {
}

/// A memory allocator that can be registered as the standard library’s default
/// through the `#[global_allocator]` attributes.
/// through the `#[global_allocator]` attribute.
///
/// Some of the methods require that a memory block be *currently
/// allocated* via an allocator. This means that:
Expand Down

0 comments on commit 9e8505d

Please sign in to comment.