async-rs / async-tls

A TLS implementation over AsyncRead and AsyncWrite
https://async.rs
Apache License 2.0
165 stars 47 forks source link

Inaccurate docs on using a custom client config #12

Closed pbor closed 4 years ago

pbor commented 5 years ago

The docs say

To create a TlsConnector with a non-default configuation, create a rusttls::ClientConfig and call .into() on it.

But the From trait is implmented for Arc<ClientConfig>

skade commented 4 years ago

Fixed by 331ac2f. The comment is now correct, by adding the From implementation.