Cleanup editor.rs imports (#35509)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-08-01 23:05:03 -06:00 committed by GitHub
parent a50d0f2586
commit f4391ed631
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 66 additions and 73 deletions

View file

@ -1041,7 +1041,7 @@ impl OutlinePanel {
fn open_excerpts(
&mut self,
action: &editor::OpenExcerpts,
action: &editor::actions::OpenExcerpts,
window: &mut Window,
cx: &mut Context<Self>,
) {
@ -1057,7 +1057,7 @@ impl OutlinePanel {
fn open_excerpts_split(
&mut self,
action: &editor::OpenExcerptsSplit,
action: &editor::actions::OpenExcerptsSplit,
window: &mut Window,
cx: &mut Context<Self>,
) {
@ -5958,7 +5958,7 @@ mod tests {
});
outline_panel.update_in(cx, |outline_panel, window, cx| {
outline_panel.open_excerpts(&editor::OpenExcerpts, window, cx);
outline_panel.open_excerpts(&editor::actions::OpenExcerpts, window, cx);
});
cx.executor()
.advance_clock(UPDATE_DEBOUNCE + Duration::from_millis(100));