diff options
| author | Laurenz <laurmaedje@gmail.com> | 2025-06-02 18:44:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-02 16:44:43 +0000 |
| commit | e023db5f1dea8b0273eec0f528d6ae0fed118a65 (patch) | |
| tree | 321ebc6a1ad30c27eb255ce005c5123dd56b5cfb /crates/typst-kit/src | |
| parent | 6164ade9cecf1f7bf475d24e0123c3664b8490a8 (diff) | |
Bump Rust to 1.87 in CI (#6367)
Diffstat (limited to 'crates/typst-kit/src')
| -rw-r--r-- | crates/typst-kit/src/download.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/typst-kit/src/download.rs b/crates/typst-kit/src/download.rs index 40084e51..a4d49b4f 100644 --- a/crates/typst-kit/src/download.rs +++ b/crates/typst-kit/src/download.rs @@ -128,8 +128,7 @@ impl Downloader { } // Configure native TLS. - let connector = - tls.build().map_err(|err| io::Error::new(io::ErrorKind::Other, err))?; + let connector = tls.build().map_err(io::Error::other)?; builder = builder.tls_connector(Arc::new(connector)); builder.build().get(url).call() |
