Skip to content

Commit 506895f

Browse files
committed
Fix spelling mistake
1 parent f51111a commit 506895f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/ide/src/inlay_hints.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ mod chaining;
2424
mod param_name;
2525
mod binding_mode;
2626
mod bind_pat;
27-
mod discrimant;
27+
mod discriminant;
2828

2929
#[derive(Clone, Debug, PartialEq, Eq)]
3030
pub struct InlayHintsConfig {
@@ -376,7 +376,7 @@ fn hints(
376376
_ => None,
377377
},
378378
ast::Variant(v) => {
379-
discrimant::hints(hints, famous_defs, config, file_id, &v)
379+
discriminant::hints(hints, famous_defs, config, file_id, &v)
380380
},
381381
// FIXME: fn-ptr type, dyn fn type, and trait object type elisions
382382
ast::Type(_) => None,

0 commit comments

Comments
 (0)