From 59acc02153302bf643239d6c14dcee87f89cad3d Mon Sep 17 00:00:00 2001 From: Sam & Claude Date: Thu, 4 Jun 2026 20:45:30 +0200 Subject: [PATCH] style: tidy formatting so all checks pass (Sam & Claude) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `cargo fmt --check` was failing on main in two spots: - crates/colibri-client/src/bin/colibri.rs (register-skill error arm) - crates/colibri-contracts/tests/golden.rs (USB_INV const) Ran `cargo fmt` to resolve them. No behavior change. With this, the whole project is green: fmt, clippy (-D warnings), tests (workspace), and the markdown gate — so the CI workflow (separate PR) lands green on arrival. Co-Authored-By: Claude Opus 4.8 --- crates/colibri-client/src/bin/colibri.rs | 7 ++++++- crates/colibri-contracts/tests/golden.rs | 3 +-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/crates/colibri-client/src/bin/colibri.rs b/crates/colibri-client/src/bin/colibri.rs index 94b91d9..2f12a4f 100644 --- a/crates/colibri-client/src/bin/colibri.rs +++ b/crates/colibri-client/src/bin/colibri.rs @@ -348,7 +348,12 @@ fn parse_skill_options(args: &[String]) -> Result<(Option, Option return Err(format!("unknown register-skill option: {other}\n\n{}", usage())), + other => { + return Err(format!( + "unknown register-skill option: {other}\n\n{}", + usage() + )) + } } } Ok((description, category)) diff --git a/crates/colibri-contracts/tests/golden.rs b/crates/colibri-contracts/tests/golden.rs index 919dd79..6fd6b82 100644 --- a/crates/colibri-contracts/tests/golden.rs +++ b/crates/colibri-contracts/tests/golden.rs @@ -21,8 +21,7 @@ const OSA_WATCHDOG_STATUS: &str = const OSA_WATCHDOG_RUN: &str = include_str!("../../../manifests/2026-05-26-osa-watchdog-host-status-run-manifest.json"); const DEBBY_INV: &str = include_str!("../../../manifests/2026-05-26-debby-runtime-inventory.json"); -const USB_INV: &str = - include_str!("../../../manifests/2026-06-04-usb-runtime-inventory.json"); +const USB_INV: &str = include_str!("../../../manifests/2026-06-04-usb-runtime-inventory.json"); fn roundtrip_eq(value: &T) where