mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Enable clippy's trait_duplication_in_bounds linter (#7201)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -89,6 +89,7 @@ rust.unused_must_use = "deny"
|
||||
rust.rust_2018_idioms = "deny"
|
||||
clippy.empty_line_after_outer_attr = "deny"
|
||||
clippy.derive_partial_eq_without_eq = "deny"
|
||||
clippy.trait_duplication_in_bounds = "deny"
|
||||
|
||||
[workspace.package]
|
||||
version = "0.2.0-beta.3"
|
||||
|
||||
@ -433,12 +433,10 @@ mod tests {
|
||||
F: FnOnce(StreamClone) -> Pin<Box<(dyn Future<Output = BytesMut> + Send)>>
|
||||
+ Send
|
||||
+ Sync
|
||||
+ Send
|
||||
+ 'static,
|
||||
G: FnOnce(StreamClone) -> Pin<Box<(dyn Future<Output = BytesMut> + Send)>>
|
||||
+ Send
|
||||
+ Sync
|
||||
+ Send
|
||||
+ 'static,
|
||||
{
|
||||
let local_addr = self.local_addr;
|
||||
|
||||
@ -97,7 +97,7 @@ struct StorageRevertsIter<R: Iterator, W: Iterator> {
|
||||
wiped: Peekable<W>,
|
||||
}
|
||||
|
||||
impl<R: Iterator, W: Iterator> StorageRevertsIter<R, W>
|
||||
impl<R, W> StorageRevertsIter<R, W>
|
||||
where
|
||||
R: Iterator<Item = (B256, RevertToSlot)>,
|
||||
W: Iterator<Item = (B256, U256)>,
|
||||
|
||||
@ -523,7 +523,7 @@ where
|
||||
}
|
||||
}
|
||||
|
||||
impl<V: TransactionValidator, T: TransactionOrdering, S> TransactionPoolExt for Pool<V, T, S>
|
||||
impl<V, T, S> TransactionPoolExt for Pool<V, T, S>
|
||||
where
|
||||
V: TransactionValidator,
|
||||
T: TransactionOrdering<Transaction = <V as TransactionValidator>::Transaction>,
|
||||
|
||||
Reference in New Issue
Block a user