mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-15 21:34:19 +00:00
Fix spelling mistake
This commit is contained in:
parent
f51111aacb
commit
506895fa2f
2 changed files with 2 additions and 2 deletions
|
|
@ -24,7 +24,7 @@ mod chaining;
|
|||
mod param_name;
|
||||
mod binding_mode;
|
||||
mod bind_pat;
|
||||
mod discrimant;
|
||||
mod discriminant;
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub struct InlayHintsConfig {
|
||||
|
|
@ -376,7 +376,7 @@ fn hints(
|
|||
_ => None,
|
||||
},
|
||||
ast::Variant(v) => {
|
||||
discrimant::hints(hints, famous_defs, config, file_id, &v)
|
||||
discriminant::hints(hints, famous_defs, config, file_id, &v)
|
||||
},
|
||||
// FIXME: fn-ptr type, dyn fn type, and trait object type elisions
|
||||
ast::Type(_) => None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue