Another pass of #[allow()] removal (#3825)
We still have a bunch of leftovers in ui2/theme2 and in gpui2 display_link module. Release Notes: - N/A
This commit is contained in:
parent
1c20a7fc37
commit
d185fca80c
7 changed files with 3 additions and 40 deletions
|
@ -1189,7 +1189,6 @@ impl Buffer {
|
|||
self.undo_or_redo(transaction).log_err()
|
||||
}
|
||||
|
||||
#[allow(clippy::needless_collect)]
|
||||
pub fn undo_to_transaction(&mut self, transaction_id: TransactionId) -> Vec<Operation> {
|
||||
let transactions = self
|
||||
.history
|
||||
|
@ -1223,7 +1222,6 @@ impl Buffer {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(clippy::needless_collect)]
|
||||
pub fn redo_to_transaction(&mut self, transaction_id: TransactionId) -> Vec<Operation> {
|
||||
let transactions = self
|
||||
.history
|
||||
|
@ -1536,7 +1534,6 @@ impl Buffer {
|
|||
edits
|
||||
}
|
||||
|
||||
#[allow(clippy::type_complexity)]
|
||||
pub fn randomly_edit<T>(
|
||||
&mut self,
|
||||
rng: &mut T,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue