async-rs / async-tls

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

Possible typo in the README example #5

Closed Michael-F-Bryan closed 5 years ago

Michael-F-Bryan commented 5 years ago

I believe you want write connector.connect(...), not connector::connect(...).

I was initially confused because connector is a value but ::connect makes it look like it's a type.