diff options
Diffstat (limited to 'src/check.rs')
-rw-r--r-- | src/check.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/check.rs b/src/check.rs index 0643f5f..39a23e5 100644 --- a/src/check.rs +++ b/src/check.rs @@ -109,7 +109,7 @@ impl Sortable for Arm { }; let segments = match pat { - Pat::Ident(pat) if is_just_ident(&pat) => vec![pat.ident.clone()], + Pat::Ident(pat) if is_just_ident(pat) => vec![pat.ident.clone()], Pat::Path(pat) => idents_of_path(&pat.path), Pat::Struct(pat) => idents_of_path(&pat.path), Pat::TupleStruct(pat) => idents_of_path(&pat.path), |