Rename Ccc to CccId (#287)

This commit is contained in:
Tony Arcieri (iqlusion)
2021-07-12 19:28:46 -07:00
committed by GitHub
parent 42ae5fb974
commit 8e52d75992
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ pub struct Setting {
}
impl Setting {
/// Get a [`SettingValue`] value by name.
/// Get a setting by name.
pub fn get(key: &str, default: bool) -> Self {
Self::from_file(key)
.or_else(|| Self::from_env(key))