Enable clippy::too_many_arguments
(#8734)
This PR enables the [`clippy::too_many_arguments`](https://rust-lang.github.io/rust-clippy/master/index.html#/too_many_arguments) rule. I opted to add `#[allow(clippy::too_many_arguments)]` on the individual violations, as reworking them to take fewer arguments is a more involved task. Release Notes: - N/A
This commit is contained in:
parent
eaf2fbb21b
commit
fc8e515fe8
14 changed files with 18 additions and 1 deletions
|
@ -2909,6 +2909,7 @@ impl Project {
|
|||
}))
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
async fn setup_and_insert_language_server(
|
||||
this: WeakModel<Self>,
|
||||
worktree_path: &Path,
|
||||
|
@ -6182,6 +6183,7 @@ impl Project {
|
|||
}
|
||||
|
||||
/// Pick paths that might potentially contain a match of a given search query.
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
async fn background_search(
|
||||
unnamed_buffers: Vec<Model<Buffer>>,
|
||||
opened_buffers: HashMap<Arc<Path>, (Model<Buffer>, BufferSnapshot)>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue