From 1bd47ea30d9e7a2909b6094a129632a96e93f6ff Mon Sep 17 00:00:00 2001 From: bflatastic Date: Tue, 3 Nov 2026 15:58:07 +0700 Subject: [PATCH] Format with rustfmt --- crates/color/src/cms/icc.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/crates/color/src/cms/icc.rs b/crates/color/src/cms/icc.rs index 2599956ce..0b09062b8 100644 --- a/crates/color/src/cms/icc.rs +++ b/crates/color/src/cms/icc.rs @@ -107,7 +107,10 @@ impl IccProfile { return Err(CmsError::BadProfile(format!("its localized names take more than {} KB", MAX_LOCALIZED_TEXT >> 10))); } if let Some(tag) = repeated_tag(bytes) { - return Err(CmsError::BadProfile(format!("its tag table lists the `{}` tag more than once", String::from_utf8_lossy(&tag.to_be_bytes())))); + return Err(CmsError::BadProfile(format!( + "its tag table lists the `{}` tag more than once", + String::from_utf8_lossy(&tag.to_be_bytes()) + ))); } let p = ColorProfile::new_from_slice(bytes).map_err(|e| CmsError::BadProfile(format!("{e:?}")))?; Ok(Self { source: bytes.to_vec(), ..Self::from_profile(name, p)? })