docs: fix Config::load() comment to match behavior
Assisted-by: Claude Opus 4.6 via pi
change spnmrylztkxrxsmtmplrpskrloqqtypn
commit cc1ad423360fc205f56540fc08aa908d5363262c
author Alpha Chen <alpha@kejadlen.dev>
date
parent rltvnrrz
diff --git a/src/config.rs b/src/config.rs
index 5aaad2d..596e795 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -33,8 +33,8 @@ impl Default for Config {
 impl Config {
     /// Load configuration from `~/.config/ramekin/config.kdl`.
     ///
-    /// If the file doesn't exist, create it with default contents.
-    /// If it exists but can't be parsed, return an error.
+    /// Falls back to hardcoded defaults when the file doesn't exist.
+    /// Returns an error if the file exists but can't be parsed.
     pub fn load() -> Result<Self> {
         let xdg = xdg::BaseDirectories::with_prefix("ramekin");
         let config_path = xdg