From fbe5a8497a9d8b9b7093182f51c506825d6e34cf Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 18 Jul 2026 05:31:39 +0400 Subject: fix(clippy): address Rust 1.97 lints --- crates/fparkan-inspection/src/lib.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crates/fparkan-inspection/src/lib.rs') diff --git a/crates/fparkan-inspection/src/lib.rs b/crates/fparkan-inspection/src/lib.rs index f4a085d..983505a 100644 --- a/crates/fparkan-inspection/src/lib.rs +++ b/crates/fparkan-inspection/src/lib.rs @@ -146,6 +146,8 @@ pub fn inspect_archive_file(path: &Path, sample_limit: usize) -> Result Result { }) } +// Preserves the shared structured-error type without changing callers to boxed errors. +#[allow(clippy::result_large_err)] fn read_resource_bytes_diagnostic( root: &Path, archive: &str, @@ -438,6 +444,8 @@ fn read_resource_bytes_diagnostic( Ok(Arc::from(bytes.into_owned())) } +// Preserves the shared structured-error type without changing callers to boxed errors. +#[allow(clippy::result_large_err)] fn load_model_document_from_root_diagnostic( root: &Path, archive: &str, -- cgit v1.2.3