remove 2 redundant comments and one that lies (#4866)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2025-09-29 11:37:52 -04:00
committed by GitHub
parent 146cf3185a
commit 2cfef016e2
-3
View File
@@ -186,17 +186,14 @@ impl Config {
})
}
/// Check if this config already exists
pub fn exists(&self) -> bool {
self.config_path.exists()
}
/// Check if this config already exists
pub fn clear(&self) -> Result<(), ConfigError> {
Ok(std::fs::remove_file(&self.config_path)?)
}
/// Get the path to the configuration file
pub fn path(&self) -> String {
self.config_path.to_string_lossy().to_string()
}