Skip to content

Commit

Permalink
docs: fixup README API description
Browse files Browse the repository at this point in the history
  • Loading branch information
cpu committed Dec 3, 2023
1 parent f1bb7e8 commit 9338a53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ If you'd like to help out, please see [CONTRIBUTING.md](CONTRIBUTING.md).
This library exposes a single function with this signature:

```rust
pub fn load_native_certs() -> Result<Vec<Certificate>, std::io::Error>
pub fn load_native_certs() -> Result<Vec<pki_types::CertificateDer<'static>>, std::io::Error>
```

On success, this returns a `Vec<Certificate>` loaded with a
On success, this returns a `Vec<pki_types::CertificateDer<'static>>` loaded with a
snapshot of the root certificates found on this platform. This
function fails in a platform-specific way, expressed in a `std::io::Error`.

Expand Down

0 comments on commit 9338a53

Please sign in to comment.