Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

One off

Conrad Irwinfd8d2d41b021
diff --git a/crates/editor/src/hover_popover.rs b/crates/editor/src/hover_popover.rs
index a4bc1c5cdeb..668d00f1aab 100644
--- a/crates/editor/src/hover_popover.rs
+++ b/crates/editor/src/hover_popover.rs
@@ -409,8 +409,7 @@ async fn parse_blocks(
region_ranges = region_ranges
.into_iter()
.map(|range| {
- range.start.saturating_sub(leading_space)
- ..range.end.saturating_sub(leading_space),
+ range.start.saturating_sub(leading_space)..range.end.saturating_sub(leading_space)
})
.collect();
}