From b3173d0423592a12937c2a316cb7b862b0457b2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Mon, 22 Apr 2024 15:50:43 +0200 Subject: [PATCH] Remove useless dots in the error messages --- milli/src/error.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/milli/src/error.rs b/milli/src/error.rs index a5ed47c7d..02691a5cf 100644 --- a/milli/src/error.rs +++ b/milli/src/error.rs @@ -39,17 +39,17 @@ pub enum InternalError { Fst(#[from] fst::Error), #[error(transparent)] DocumentsError(#[from] documents::Error), - #[error("Invalid compression type have been specified to grenad.")] + #[error("Invalid compression type have been specified to grenad")] GrenadInvalidCompressionType, - #[error("Invalid grenad file with an invalid version format.")] + #[error("Invalid grenad file with an invalid version format")] GrenadInvalidFormatVersion, - #[error("Invalid merge while processing {process}.")] + #[error("Invalid merge while processing {process}")] IndexingMergingKeys { process: &'static str }, #[error("{}", HeedError::InvalidDatabaseTyping)] InvalidDatabaseTyping, #[error(transparent)] RayonThreadPool(#[from] ThreadPoolBuildError), - #[error("A panic occured. Read the logs to find more information about it.")] + #[error("A panic occured. Read the logs to find more information about it")] PanicInThreadPool, #[error(transparent)] SerdeJson(#[from] serde_json::Error), @@ -59,9 +59,9 @@ pub enum InternalError { Store(#[from] MdbError), #[error(transparent)] Utf8(#[from] str::Utf8Error), - #[error("An indexation process was explicitly aborted.")] + #[error("An indexation process was explicitly aborted")] AbortedIndexation, - #[error("The matching words list contains at least one invalid member.")] + #[error("The matching words list contains at least one invalid member")] InvalidMatchingWords, #[error(transparent)] ArroyError(#[from] arroy::Error),