Skip to content

Commit

Permalink
Fix a doc link to with_list_parse_key
Browse files Browse the repository at this point in the history
warning: unresolved link to `with_list_parse_key`
   --> src/env.rs:145:15
    |
145 |     /// See [`with_list_parse_key`] when you want to use [`Vec<String>`] in combination with [`String`].
    |               ^^^^^^^^^^^^^^^^^^^ no item named `with_list_parse_key` in scope
  • Loading branch information
ijackson committed Oct 23, 2023
1 parent d7c1656 commit 0d1a6b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0d1a6b5

Please sign in to comment.