Skip to content

Commit ae4eded

Browse files
committed
Silence nightly warning
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.
1 parent 2ec2602 commit ae4eded

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ldap.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ use tokio::sync::{mpsc, oneshot};
2525
use tokio::time;
2626

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

0 commit comments

Comments
 (0)