Skip to content

Commit 1b9a66d

Browse files
fmt
1 parent 6bdb81b commit 1b9a66d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pyrefly/lib/lsp/non_wasm/server.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2243,10 +2243,11 @@ impl Server {
22432243
let mut grouped: Vec<(ModuleInfo, Vec<TextRange>)> = Vec::new();
22442244
for impl_with_module in implementations {
22452245
if let Some((last_module, ranges)) = grouped.last_mut()
2246-
&& last_module.path() == impl_with_module.module.path() {
2247-
ranges.push(impl_with_module.range);
2248-
continue;
2249-
}
2246+
&& last_module.path() == impl_with_module.module.path()
2247+
{
2248+
ranges.push(impl_with_module.range);
2249+
continue;
2250+
}
22502251
grouped.push((impl_with_module.module, vec![impl_with_module.range]));
22512252
}
22522253
Ok(grouped)

0 commit comments

Comments
 (0)