From 5d7cf2445c9b7334446241f5a683746315615d6a Mon Sep 17 00:00:00 2001 From: Tamo Date: Mon, 23 Jun 2025 23:39:32 +0200 Subject: [PATCH] fmt --- crates/milli/src/error.rs | 22 +++++++++++----------- crates/milli/src/progress.rs | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/crates/milli/src/error.rs b/crates/milli/src/error.rs index fa285d418..3acbbe66f 100644 --- a/crates/milli/src/error.rs +++ b/crates/milli/src/error.rs @@ -409,19 +409,19 @@ impl From for Error { arroy::Error::Heed(heed) => heed.into(), arroy::Error::Io(io) => io.into(), arroy::Error::InvalidVecDimension { expected, received } => { - Error::UserError(UserError::InvalidVectorDimensions { expected, found: received }) - } + Error::UserError(UserError::InvalidVectorDimensions { expected, found: received }) + } arroy::Error::BuildCancelled => Error::InternalError(InternalError::AbortedIndexation), arroy::Error::DatabaseFull - | arroy::Error::InvalidItemAppend - | arroy::Error::UnmatchingDistance { .. } - | arroy::Error::NeedBuild(_) - | arroy::Error::MissingKey { .. } - | arroy::Error::MissingMetadata(_) - | arroy::Error::CannotDecodeKeyMode { .. } - | arroy::Error::UnknownVersion { .. } => { - Error::InternalError(InternalError::ArroyError(value)) - } + | arroy::Error::InvalidItemAppend + | arroy::Error::UnmatchingDistance { .. } + | arroy::Error::NeedBuild(_) + | arroy::Error::MissingKey { .. } + | arroy::Error::MissingMetadata(_) + | arroy::Error::CannotDecodeKeyMode { .. } + | arroy::Error::UnknownVersion { .. } => { + Error::InternalError(InternalError::ArroyError(value)) + } } } } diff --git a/crates/milli/src/progress.rs b/crates/milli/src/progress.rs index 70ed2aaf0..c0d087fb1 100644 --- a/crates/milli/src/progress.rs +++ b/crates/milli/src/progress.rs @@ -263,8 +263,8 @@ impl Step for arroy::MainStep { match self { arroy::MainStep::PreProcessingTheItems => "pre processing the items", arroy::MainStep::WritingTheDescendantsAndMetadata => { - "writing the descendants and metadata" - } + "writing the descendants and metadata" + } arroy::MainStep::RetrieveTheUpdatedItems => "retrieve the updated items", arroy::MainStep::WriteTheMetadata => "write the metadata", arroy::MainStep::RetrievingTheItemsIds => "retrieving the items ids",