Skip to content

Commit

Permalink
Silence nightly warning
Browse files Browse the repository at this point in the history
Probably due to rust-lang/rust#118297, our SaslCreds tuple struct
now generates a warning. It can be silenced by making the struct
public, but it really doesn't need to be, so dead code will be
allowd at this point.

The warning will presumably end up in stable Rust in a couple of
releases.
  • Loading branch information
inejge committed Feb 14, 2024
1 parent 2ec2602 commit ae4eded
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ldap.rs
Expand Up @@ -25,6 +25,7 @@ use tokio::sync::{mpsc, oneshot};
use tokio::time;

/// SASL bind exchange wrapper.
#[allow(dead_code)]
#[derive(Clone, Debug)]
pub(crate) struct SaslCreds(pub Option<Vec<u8>>);

Expand Down

0 comments on commit ae4eded

Please sign in to comment.