We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bdb81b commit 1b9a66dCopy full SHA for 1b9a66d
pyrefly/lib/lsp/non_wasm/server.rs
@@ -2243,10 +2243,11 @@ impl Server {
2243
let mut grouped: Vec<(ModuleInfo, Vec<TextRange>)> = Vec::new();
2244
for impl_with_module in implementations {
2245
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
- }
+ && last_module.path() == impl_with_module.module.path()
+ {
+ ranges.push(impl_with_module.range);
+ continue;
2250
+ }
2251
grouped.push((impl_with_module.module, vec![impl_with_module.range]));
2252
}
2253
Ok(grouped)
0 commit comments