mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-28 02:57:37 +00:00
Fix typo in reference modifier description
This commit is contained in:
parent
caac771439
commit
1b7cdac516
@ -140,7 +140,7 @@ pub struct HlRange {
|
||||
// library:: Emitted for items that are defined outside of the current crate.
|
||||
// mutable:: Emitted for mutable locals and statics as well as functions taking `&mut self`.
|
||||
// public:: Emitted for items that are from the current crate and are `pub`.
|
||||
// reference: Emitted for locals behind a reference and functions taking `self` by reference.
|
||||
// reference:: Emitted for locals behind a reference and functions taking `self` by reference.
|
||||
// static:: Emitted for "static" functions, also known as functions that do not take a `self` param, as well as statics and consts.
|
||||
// trait:: Emitted for associated trait items.
|
||||
// unsafe:: Emitted for unsafe operations, like unsafe function calls, as well as the `unsafe` token.
|
||||
|
Loading…
Reference in New Issue
Block a user