Skip to content

Commit

Permalink
cargo: Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
felinira committed Jul 10, 2024
1 parent ed58bd7 commit 1de0b97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use serde_derive::{Deserialize, Serialize};
use std::borrow::Cow;

use self::rendezvous::*;
pub(self) use self::server_messages::EncryptedMessage;
use self::server_messages::EncryptedMessage;
use log::*;

use crypto_secretbox as secretbox;
Expand Down
2 changes: 1 addition & 1 deletion src/transit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ impl<'de> serde::Deserialize<'de> for Abilities {
DirectTcpV1,
RelayV1,
RelayV2,
#[cfg(all())]
#[cfg(any())]
NoiseCryptoV1,
#[serde(other)]
Other,
Expand Down

0 comments on commit 1de0b97

Please sign in to comment.