We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91a3555 commit afe2a23Copy full SHA for afe2a23
src/http.rs
@@ -87,7 +87,7 @@ pub async fn create_client(options: &HttpOptions) -> anyhow::Result<reqwest::Cli
87
88
for cert in &options.additional_root_certificates {
89
log::info!("Adding additional root certificate: {}", cert.display());
90
- let cert = std::fs::read(&cert)
+ let cert = std::fs::read(cert)
91
.with_context(|| format!("Reading certificate: {}", cert.display()))?;
92
let certs = reqwest::tls::Certificate::from_pem_bundle(&cert)?;
93
for cert in certs {
src/utils/mod.rs
@@ -7,7 +7,7 @@ pub struct OrNone<'a, T>(pub &'a Option<T>)
7
where
8
T: Display;
9
10
-impl<'a, T> Display for OrNone<'a, T>
+impl<T> Display for OrNone<'_, T>
11
12
T: Display,
13
{
0 commit comments