Skip to content

Commit f38ec38

Browse files
fmt
1 parent b1b241d commit f38ec38

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
@@ -2261,10 +2261,11 @@ impl Server {
22612261
let mut grouped: Vec<(ModuleInfo, Vec<TextRange>)> = Vec::new();
22622262
for impl_with_module in implementations {
22632263
if let Some((last_module, ranges)) = grouped.last_mut()
2264-
&& last_module.path() == impl_with_module.module.path() {
2265-
ranges.push(impl_with_module.range);
2266-
continue;
2267-
}
2264+
&& last_module.path() == impl_with_module.module.path()
2265+
{
2266+
ranges.push(impl_with_module.range);
2267+
continue;
2268+
}
22682269
grouped.push((impl_with_module.module, vec![impl_with_module.range]));
22692270
}
22702271
Ok(grouped)

0 commit comments

Comments
 (0)