Run cargo readme
This commit is contained in:
@@ -237,7 +237,7 @@ Here's an example of constructing an Agent that uses native-tls. It requires the
|
|||||||
use ureq::Agent;
|
use ureq::Agent;
|
||||||
|
|
||||||
let agent = ureq::AgentBuilder::new()
|
let agent = ureq::AgentBuilder::new()
|
||||||
.tls_connector(Arc::new(native_tls::TlsConnector::new().unwrap()))
|
.tls_connector(Arc::new(native_tls::TlsConnector::new()?))
|
||||||
.build();
|
.build();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user