Skip to content

Commit a458cd8

Browse files
committed
Remove no-longer-needed Config::get_bool
1 parent 8d65906 commit a458cd8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/cargo/util/config/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -445,10 +445,6 @@ impl Config {
445445
}
446446
}
447447

448-
pub fn get_bool(&self, key: &str) -> CargoResult<OptValue<bool>> {
449-
self.get::<Option<Value<bool>>>(key)
450-
}
451-
452448
fn get_bool_priv(&self, key: &ConfigKey) -> Result<OptValue<bool>, ConfigError> {
453449
match self.get_env(key)? {
454450
Some(v) => Ok(Some(v)),

0 commit comments

Comments
 (0)