From dcf586803bf1ad73ac6158535924ea7bd80fda92 Mon Sep 17 00:00:00 2001 From: madjack Date: Fri, 15 May 2020 13:31:17 +0300 Subject: [PATCH] Update mod.rs --- src/config/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index 8a01c58e..4b023778 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -405,12 +405,12 @@ pub trait Configurable: internal::ConfigurableBase { /// at . /// /// The default is unset and will result in the system defaults being used. - fn ssl_ciphers(self, servers: I) -> Self + fn ssl_ciphers(self, ciphers: I) -> Self where I: IntoIterator, T: Into, { - self.configure(ssl::Ciphers::from_iter(servers.into_iter().map(T::into))) + self.configure(ssl::Ciphers::from_iter(ciphers.into_iter().map(T::into))) } /// Set various options for this request that control SSL/TLS behavior.