Skip to content

Commit

Permalink
add a doc-comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigodd committed May 30, 2023
1 parent ecc51ba commit 93332c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/config.rs
Expand Up @@ -148,6 +148,9 @@ where
}

impl Config {
/// Load the config from disk or wherever it is stored in the current platform.
///
/// This don't update the global config.
pub fn load() -> Result<Self, String> {
load_config()
}
Expand Down

0 comments on commit 93332c5

Please sign in to comment.