mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-28 14:03:35 +00:00
Merge #9821
9821: minor: Fix typo in reference modifier description r=lnicola a=lnicola Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
commit
977fef713e
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ pub struct HlRange {
|
||||||
// library:: Emitted for items that are defined outside of the current crate.
|
// 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`.
|
// 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`.
|
// 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.
|
// 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.
|
// trait:: Emitted for associated trait items.
|
||||||
// unsafe:: Emitted for unsafe operations, like unsafe function calls, as well as the `unsafe` token.
|
// unsafe:: Emitted for unsafe operations, like unsafe function calls, as well as the `unsafe` token.
|
||||||
|
|
Loading…
Reference in a new issue