From 1304b5060187ae7121d48204a9897ad3f147964a Mon Sep 17 00:00:00 2001 From: Eric Zhang Date: Mon, 21 Sep 2026 00:44:50 -0400 Subject: [PATCH] Fix rustfmt and clippy --- crates/sshx-core/src/lib.rs | 2 +- rustfmt.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/sshx-core/src/lib.rs b/crates/sshx-core/src/lib.rs index 5ffbba5c..e5e782d4 100644 --- a/crates/sshx-core/src/lib.rs +++ b/crates/sshx-core/src/lib.rs @@ -10,7 +10,7 @@ use serde::{Deserialize, Serialize}; /// Protocol buffer and gRPC definitions, automatically generated by Tonic. #[allow(missing_docs, non_snake_case)] -#[allow(clippy::derive_partial_eq_without_eq)] +#[allow(clippy::derive_partial_eq_without_eq, clippy::result_large_err)] pub mod proto { tonic::include_proto!("sshx"); diff --git a/rustfmt.toml b/rustfmt.toml index 768ef829..35b6afdd 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -3,4 +3,5 @@ group_imports = "StdExternalCrate" wrap_comments = true format_strings = true normalize_comments = true +comment_width = 100 reorder_impl_items = true