mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 22:31:43 +00:00
minor: it's Parameter, not Argument
This commit is contained in:
parent
341f8bb200
commit
159922de93
2 changed files with 5 additions and 5 deletions
|
@ -349,11 +349,11 @@ impl fmt::Display for CaseType {
|
|||
|
||||
#[derive(Debug)]
|
||||
pub enum IdentType {
|
||||
Argument,
|
||||
Constant,
|
||||
Enum,
|
||||
Field,
|
||||
Function,
|
||||
Parameter,
|
||||
StaticVariable,
|
||||
Structure,
|
||||
Variable,
|
||||
|
@ -363,11 +363,11 @@ pub enum IdentType {
|
|||
impl fmt::Display for IdentType {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
let repr = match self {
|
||||
IdentType::Argument => "Argument",
|
||||
IdentType::Constant => "Constant",
|
||||
IdentType::Enum => "Enum",
|
||||
IdentType::Field => "Field",
|
||||
IdentType::Function => "Function",
|
||||
IdentType::Parameter => "Parameter",
|
||||
IdentType::StaticVariable => "Static variable",
|
||||
IdentType::Structure => "Structure",
|
||||
IdentType::Variable => "Variable",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue