summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2023-10-23 16:33:39 +0100
committerMatthias Beyer <mail@beyermatthias.de>2023-10-23 18:44:31 +0200
commit11adf43d69d16431b8ed3f77ae071390b5709513 (patch)
tree6c8239382e0ab4d856fdc885229acb56bd7e708a
parent7d225a1e284406d011f9487710d23519e5455738 (diff)
Fix a doc link by properly marking Vec<String>
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--src/env.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.rs b/src/env.rs
index 8f2af34..d817d3a 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<String>,
- /// A list of keys which should always be parsed as a list. If not set you can have only Vec<String> 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<String>` or `String` (not both) in one environment.
list_parse_keys: Option<Vec<String>>,
/// Ignore empty env values (treat as unset).