summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2023-10-23 16:32:21 +0100
committerMatthias Beyer <mail@beyermatthias.de>2023-10-23 18:44:22 +0200
commit7d225a1e284406d011f9487710d23519e5455738 (patch)
tree1d23f0c6fce97d264f3e3d55d52515238b538751
parente95b9dda33b40ce19dbad67a00c209b20bfab206 (diff)
Fix a doc link to with_list_parse_key
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk> Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r--src/env.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/env.rs b/src/env.rs
index 7823383..8f2af34 100644
--- a/src/env.rs
+++ b/src/env.rs
@@ -142,7 +142,9 @@ impl Environment {
}
/// When set and try_parsing is true, then all environment variables will be parsed as [`Vec<String>`] instead of [`String`].
- /// See [`with_list_parse_key`] when you want to use [`Vec<String>`] in combination with [`String`].
+ /// See
+ /// [`with_list_parse_key`](Self::with_list_parse_key)
+ /// when you want to use [`Vec<String>`] in combination with [`String`].
pub fn list_separator(mut self, s: &str) -> Self {
self.list_separator = Some(s.into());
self