diff --git a/src/application/services/delta_upload_service.rs b/src/application/services/delta_upload_service.rs index 07e4312a..caf2238a 100644 --- a/src/application/services/delta_upload_service.rs +++ b/src/application/services/delta_upload_service.rs @@ -135,6 +135,11 @@ enum CommitMode { } /// Outcome of a commit attempt. +// `Done` carries a full `FileDto` (~297 B) while `StillMissing` is tiny; the +// size gap trips `clippy::large_enum_variant` under Rust 1.93's stricter lint. +// The value is short-lived (returned once per commit), so the gap isn't worth +// boxing — silence the lint rather than complicate the call sites. +#[allow(clippy::large_enum_variant)] pub enum DeltaCommitOutcome { /// The file row exists; `created` distinguishes 201 from 200. Done { file: FileDto, created: bool },