From 3d700a59d6a35e9a209882facda3549757ad6bff Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 23 Oct 2023 16:33:39 +0100 Subject: [PATCH] Fix a doc link by properly marking Vec warning: unclosed HTML tag `String` --> src/env.rs:44:97 | 44 | /// A list of keys which should always be parsed as a list. If not set you can have only Vec or String (not both) in one environment. | ^^^^^^^^ | = note: `#[warn(rustdoc::invalid_html_tags)]` on by default help: try marking as source code | 44 | /// A list of keys which should always be parsed as a list. If not set you can have only `Vec` or String (not both) in one environment. | + + --- src/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/env.rs b/src/env.rs index 8f2af34b..d817d3a7 100644 --- a/src/env.rs +++ b/src/env.rs @@ -41,7 +41,7 @@ pub struct Environment { /// Optional character sequence that separates each env value into a vector. only works when try_parsing is set to true /// Once set, you cannot have type String on the same environment, unless you set list_parse_keys. list_separator: Option, - /// A list of keys which should always be parsed as a list. If not set you can have only Vec or String (not both) in one environment. + /// A list of keys which should always be parsed as a list. If not set you can have only `Vec` or `String` (not both) in one environment. list_parse_keys: Option>, /// Ignore empty env values (treat as unset).