diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 17b882314059d0..ad52ab65b40e3e 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -11334,7 +11334,11 @@ impl Editor { } } - pub fn copy_file_name_without_extension(&mut self, _: &CopyFileNameWithoutExtension, cx: &mut ViewContext) { + pub fn copy_file_name_without_extension( + &mut self, + _: &CopyFileNameWithoutExtension, + cx: &mut ViewContext, + ) { if let Some(file) = self.target_file(cx) { if let Some(file_stem) = file.path().file_stem() { if let Some(name) = file_stem.to_str() { diff --git a/crates/project_panel/src/project_panel.rs b/crates/project_panel/src/project_panel.rs index c97fc474a186ca..bc99d2a37b8947 100644 --- a/crates/project_panel/src/project_panel.rs +++ b/crates/project_panel/src/project_panel.rs @@ -1963,7 +1963,11 @@ impl ProjectPanel { } } - fn copy_file_name_without_extension(&mut self, _: &CopyFileNameWithoutExtension, cx: &mut ViewContext) { + fn copy_file_name_without_extension( + &mut self, + _: &CopyFileNameWithoutExtension, + cx: &mut ViewContext, + ) { let file_names = { let project = self.project.read(cx); self.marked_entries()