Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide-ssr/src/nester.rs')
-rw-r--r--crates/ide-ssr/src/nester.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/ide-ssr/src/nester.rs b/crates/ide-ssr/src/nester.rs
index c6a765070e..afaaafd1fb 100644
--- a/crates/ide-ssr/src/nester.rs
+++ b/crates/ide-ssr/src/nester.rs
@@ -54,7 +54,11 @@ impl MatchCollector {
}
/// Attempts to add `m` as a sub-match of `existing`.
-fn try_add_sub_match(m: Match, existing: &mut Match, sema: &hir::Semantics<'_, ide_db::RootDatabase>) {
+fn try_add_sub_match(
+ m: Match,
+ existing: &mut Match,
+ sema: &hir::Semantics<'_, ide_db::RootDatabase>,
+) {
for p in existing.placeholder_values.values_mut() {
// Note, no need to check if p.range.file is equal to m.range.file, since we
// already know we're within `existing`.