multi_buffer: Remove redundant TypedOffset/TypedPoint (#43139)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth
2025-11-20 09:31:18 +00:00
committed by GitHub
parent 681a56506b
commit 95cb467cd9
3 changed files with 229 additions and 525 deletions
+1 -1
View File
@@ -942,7 +942,7 @@ impl Item for Editor {
fn breadcrumbs(&self, variant: &Theme, cx: &App) -> Option<Vec<BreadcrumbText>> {
let cursor = self.selections.newest_anchor().head();
let multibuffer = &self.buffer().read(cx);
let multibuffer = self.buffer().read(cx);
let (buffer_id, symbols) = multibuffer
.read(cx)
.symbols_containing(cursor, Some(variant.syntax()))?;