Skip to content

Commit 95cb467

Browse files
authored
multi_buffer: Remove redundant TypedOffset/TypedPoint (#43139)
Release Notes: - N/A *or* Added/Fixed/Improved ...
1 parent 681a565 commit 95cb467

File tree

3 files changed

+219
-515
lines changed

3 files changed

+219
-515
lines changed

crates/editor/src/items.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -942,7 +942,7 @@ impl Item for Editor {
942942

943943
fn breadcrumbs(&self, variant: &Theme, cx: &App) -> Option<Vec<BreadcrumbText>> {
944944
let cursor = self.selections.newest_anchor().head();
945-
let multibuffer = &self.buffer().read(cx);
945+
let multibuffer = self.buffer().read(cx);
946946
let (buffer_id, symbols) = multibuffer
947947
.read(cx)
948948
.symbols_containing(cursor, Some(variant.syntax()))?;

0 commit comments

Comments
 (0)