From ce13168a961549330fe4a78388386d4beabc226c Mon Sep 17 00:00:00 2001 From: Martin Algesten Date: Fri, 22 Apr 2022 19:26:15 +0200 Subject: [PATCH] Run cargo readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0def8ac..0f8f5d0 100644 --- a/README.md +++ b/README.md @@ -237,7 +237,7 @@ Here's an example of constructing an Agent that uses native-tls. It requires the use ureq::Agent; let agent = ureq::AgentBuilder::new() - .tls_connector(Arc::new(native_tls::TlsConnector::new().unwrap())) + .tls_connector(Arc::new(native_tls::TlsConnector::new()?)) .build(); ```