From 4502cb04f60727aec2c5044e00dfb70378de484e Mon Sep 17 00:00:00 2001 From: Victor Neo Date: Wed, 9 Oct 2024 12:46:02 +0800 Subject: [PATCH] Add missing type annotation for docs --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index b690772..9072d43 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -51,7 +51,7 @@ //! } //! //! fn main() -> Result<(), confy::ConfyError> { -//! let cfg = confy::load("my-app-name", None)?; +//! let cfg: MyConfig = confy::load("my-app-name", None)?; //! Ok(()) //! } //! ```