From 2cfef016e229c47667115cc330bd385b17c9f4c5 Mon Sep 17 00:00:00 2001 From: Douwe Osinga Date: Mon, 29 Sep 2025 11:37:52 -0400 Subject: [PATCH] remove 2 redundant comments and one that lies (#4866) Co-authored-by: Douwe Osinga --- crates/goose/src/config/base.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/crates/goose/src/config/base.rs b/crates/goose/src/config/base.rs index e392c895..ac25ba5c 100644 --- a/crates/goose/src/config/base.rs +++ b/crates/goose/src/config/base.rs @@ -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() }