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.

fix comment typo

Kay Simmons30caeeaeb597
diff --git a/crates/editor/src/multi_buffer.rs b/crates/editor/src/multi_buffer.rs
index 7b85799b313..908e5c827d8 100644
--- a/crates/editor/src/multi_buffer.rs
+++ b/crates/editor/src/multi_buffer.rs
@@ -2648,7 +2648,8 @@ impl MultiBufferSnapshot {
result
}
- /// Returns enclosingn bracket ranges containing the given range or returns None if the range is not contained in a single excerpt
+ /// Returns enclosinng bracket ranges containing the given range or returns None if the range is
+ /// not contained in a single excerpt
pub fn enclosing_bracket_ranges<'a, T: ToOffset>(
&'a self,
range: Range<T>,