style: fix rustfmt formatting after rebase

Reformat code after rebasing onto main (which includes PR #614's
nest.rs additions). No logic changes.
This commit is contained in:
Will Pfleger
2026-05-20 14:18:14 -04:00
parent f60f36e6b1
commit 3474e1e5f0

View File

@@ -106,8 +106,7 @@ pub fn ensure_nest_at(root: &Path) -> Result<(), String> {
// Write sprout-cli skill alongside AGENTS.md (same idempotent pattern).
let skill_dir = root.join(".claude/skills/sprout-cli");
fs::create_dir_all(&skill_dir)
.map_err(|e| format!("create {}: {e}", skill_dir.display()))?;
fs::create_dir_all(&skill_dir).map_err(|e| format!("create {}: {e}", skill_dir.display()))?;
let skill_md = root.join(".claude/skills/sprout-cli/SKILL.md");
match fs::OpenOptions::new()
@@ -324,10 +323,7 @@ mod tests {
let skill = root.join(".claude/skills/sprout-cli/SKILL.md");
fs::write(&skill, "custom skill content").unwrap();
ensure_nest_at(&root).unwrap();
assert_eq!(
fs::read_to_string(&skill).unwrap(),
"custom skill content"
);
assert_eq!(fs::read_to_string(&skill).unwrap(), "custom skill content");
}
#[cfg(unix)]