Skip to content

Commit

Permalink
Merge pull request #188 from DBLouis/patch-1
Browse files Browse the repository at this point in the history
Update mod.rs
  • Loading branch information
sagebind authored May 15, 2020
2 parents b517b90 + dcf5868 commit d479360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,12 +405,12 @@ pub trait Configurable: internal::ConfigurableBase {
/// at <https://curl.haxx.se/docs/ssl-ciphers.html>.
///
/// The default is unset and will result in the system defaults being used.
fn ssl_ciphers<I, T>(self, servers: I) -> Self
fn ssl_ciphers<I, T>(self, ciphers: I) -> Self
where
I: IntoIterator<Item = T>,
T: Into<String>,
{
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.
Expand Down

0 comments on commit d479360

Please sign in to comment.