Skip to content

Commit

Permalink
doc: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
amunra committed Jan 29, 2024
1 parent fbd7c0a commit 7d8b9f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ impl ConfStr {
&self.params
}

/// Get a parameter by case-insensitive key.
/// Get a parameter.
/// Key should always be specified as lowercase.
pub fn get(&self, key: &str) -> Option<&str> {
self.params.get(key).map(|s| s.as_str())
}
Expand Down

0 comments on commit 7d8b9f6

Please sign in to comment.