Fix spelling mistake

This commit is contained in:
Lukas Wirth 2023-01-02 23:16:26 +01:00
parent f51111aacb
commit 506895fa2f
2 changed files with 2 additions and 2 deletions

View file

@ -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,