Skip to content

Commit 1753fba

Browse files
committed
Remove compiler warning
1 parent b99c5e2 commit 1753fba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/conn/opts.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,13 +349,13 @@ impl OptsBuilder {
349349

350350
/// Not implemented on windows
351351
#[cfg(all(feature = "ssl", target_os = "windows"))]
352-
pub fn ssl_opts<A, B, C>(&mut self, ssl_opts: Option<SslOpts>) -> &mut Self {
352+
pub fn ssl_opts<A, B, C>(&mut self, _: Option<SslOpts>) -> &mut Self {
353353
panic!("OptsBuilder::ssl_opts is not implemented on Windows");
354354
}
355355

356356
/// Requires `ssl` feature
357357
#[cfg(not(feature = "ssl"))]
358-
pub fn ssl_opts<A, B, C>(&mut self, ssl_opts: Option<SslOpts>) -> &mut Self {
358+
pub fn ssl_opts<A, B, C>(&mut self, _: Option<SslOpts>) -> &mut Self {
359359
panic!("OptsBuilder::ssl_opts requires `ssl` feature");
360360
}
361361

0 commit comments

Comments
 (0)