From 9338a5323d36efa316e488fbb3166edaa71e6de0 Mon Sep 17 00:00:00 2001 From: Daniel McCarney Date: Sun, 3 Dec 2023 09:59:20 -0500 Subject: [PATCH] docs: fixup README API description --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7dc4580..444fa57 100644 --- a/README.md +++ b/README.md @@ -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, std::io::Error> +pub fn load_native_certs() -> Result>, std::io::Error> ``` -On success, this returns a `Vec` loaded with a +On success, this returns a `Vec>` 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`.