Allow too many arguments (#26375)

This is nearly half of our #allows, and seems like something we happily
break whenever we need

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2025-03-10 13:38:30 -06:00 committed by GitHub
parent 659fae70f8
commit 63091459d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
48 changed files with 4 additions and 111 deletions

View file

@ -843,7 +843,6 @@ impl Pane {
}
}
#[allow(clippy::too_many_arguments)]
pub(crate) fn open_item(
&mut self,
project_entry_id: Option<ProjectEntryId>,
@ -928,7 +927,6 @@ impl Pane {
}
}
#[allow(clippy::too_many_arguments)]
pub fn add_item_inner(
&mut self,
item: Box<dyn ItemHandle>,

View file

@ -122,7 +122,6 @@ impl PaneGroup {
};
}
#[allow(clippy::too_many_arguments)]
pub fn render(
&self,
project: &Entity<Project>,
@ -221,7 +220,6 @@ impl Member {
}
}
#[allow(clippy::too_many_arguments)]
pub fn render(
&self,
project: &Entity<Project>,
@ -671,7 +669,6 @@ impl PaneAxis {
None
}
#[allow(clippy::too_many_arguments)]
fn render(
&self,
project: &Entity<Project>,
@ -875,7 +872,6 @@ mod element {
self
}
#[allow(clippy::too_many_arguments)]
fn compute_resize(
flexes: &Arc<Mutex<Vec<f32>>>,
e: &MouseMoveEvent,
@ -965,7 +961,6 @@ mod element {
window.refresh();
}
#[allow(clippy::too_many_arguments)]
fn layout_handle(
axis: Axis,
pane_bounds: Bounds<Pixels>,

View file

@ -2732,7 +2732,6 @@ impl Workspace {
)
}
#[allow(clippy::too_many_arguments)]
pub fn add_item(
&mut self,
pane: Entity<Pane>,
@ -2830,7 +2829,6 @@ impl Workspace {
self.open_path_preview(path, pane, focus_item, false, true, window, cx)
}
#[allow(clippy::too_many_arguments)]
pub fn open_path_preview(
&mut self,
path: impl Into<ProjectPath>,