mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-04 15:12:15 +00:00
chore: update Rust version for clippy check to 1.71
We also need to prepend the `clippy::allow` with an `unknown_lints` lint because clippy 1.71 does not (yet) know about this new lint. Pull-Request: #4219.
This commit is contained in:
parent
132688961f
commit
a10733f8a4
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -212,7 +212,7 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
rust-version: [
|
||||
1.70.0, # current stable
|
||||
1.71.0, # current stable
|
||||
beta
|
||||
]
|
||||
steps:
|
||||
|
@ -55,7 +55,7 @@ where
|
||||
|
||||
fn upgrade_inbound(self, socket: C, _: Self::Info) -> Self::Future {
|
||||
future::ready(Ok(Multiplex {
|
||||
#[allow(clippy::arc_with_non_send_sync)] // `T` is not enforced to be `Send` but we don't want to constrain it either.
|
||||
#[allow(unknown_lints, clippy::arc_with_non_send_sync)] // `T` is not enforced to be `Send` but we don't want to constrain it either.
|
||||
io: Arc::new(Mutex::new(io::Multiplexed::new(socket, self))),
|
||||
}))
|
||||
}
|
||||
@ -71,7 +71,7 @@ where
|
||||
|
||||
fn upgrade_outbound(self, socket: C, _: Self::Info) -> Self::Future {
|
||||
future::ready(Ok(Multiplex {
|
||||
#[allow(clippy::arc_with_non_send_sync)] // `T` is not enforced to be `Send` but we don't want to constrain it either.
|
||||
#[allow(unknown_lints, clippy::arc_with_non_send_sync)] // `T` is not enforced to be `Send` but we don't want to constrain it either.
|
||||
io: Arc::new(Mutex::new(io::Multiplexed::new(socket, self))),
|
||||
}))
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user