From 199a52b3440fa6f394fdea59b9945f5c6ca20bbd Mon Sep 17 00:00:00 2001 From: Krzysztof Andrelczyk Date: Wed, 5 Mar 2025 22:08:44 +0100 Subject: [PATCH] small error fix --- plugins/updater/src/error.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/updater/src/error.rs b/plugins/updater/src/error.rs index 49e14264..f62a017c 100644 --- a/plugins/updater/src/error.rs +++ b/plugins/updater/src/error.rs @@ -42,11 +42,11 @@ pub enum Error { /// `reqwest` crate errors. #[error(transparent)] Reqwest(#[from] reqwest::Error), - /// The platform was not found on the updater JSON response. - #[error("the platform `{0}` was not found on the response `platforms` object")] + /// The platform was not found in the updater JSON response. + #[error("the platform `{0}` was not found in the response `platforms` object")] TargetNotFound(String), - /// Neither the platform not the fallback platform was not found on the updater JSON response. - #[error("the platform `{0}` and `{1}` were not found on the response `platforms` object")] + /// Neither the platform not the fallback platform was not found in the updater JSON response. + #[error("the platform `{0}` and `{1}` were not found in the response `platforms` object")] TargetsNotFound(String, String), /// Download failed #[error("`{0}`")]