Skip to content

Commit

Permalink
Fix a doc link by properly marking Vec<String>
Browse files Browse the repository at this point in the history
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<String> 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<String>` or String (not both) in one environment.
   |                                                                                              +           +
  • Loading branch information
ijackson committed Oct 23, 2023
1 parent 0d1a6b5 commit 3d700a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 3d700a5

Please sign in to comment.