From f2b4dafd63d2052e95de5807d3042c2b11ee8eff Mon Sep 17 00:00:00 2001 From: David Bernard Date: Mon, 7 Oct 2024 21:17:57 +0200 Subject: [PATCH] style: format --- cdviz-collector/src/main.rs | 2 +- cdviz-collector/src/sinks/folder.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdviz-collector/src/main.rs b/cdviz-collector/src/main.rs index 6ef4716..211941b 100644 --- a/cdviz-collector/src/main.rs +++ b/cdviz-collector/src/main.rs @@ -31,7 +31,7 @@ pub(crate) struct Cli { #[clap(long = "config", env("CDVIZ_COLLECTOR_CONFIG"))] config: Option, /// The directory to use as the working directory. - #[clap(short = 'C',long = "directory")] + #[clap(short = 'C', long = "directory")] directory: Option, #[command(flatten)] diff --git a/cdviz-collector/src/sinks/folder.rs b/cdviz-collector/src/sinks/folder.rs index ab9f294..e609586 100644 --- a/cdviz-collector/src/sinks/folder.rs +++ b/cdviz-collector/src/sinks/folder.rs @@ -45,8 +45,8 @@ mod tests { use super::*; use assert2::let_assert; use cdevents_sdk::CDEvent; - use test_strategy::proptest; use std::path::PathBuf; + use test_strategy::proptest; fn assert_eq(cdevent: &CDEvent, file: PathBuf) { assert!(file.exists());