From 3bc00f338994f155f8b0a9fb86d9581954ab6b87 Mon Sep 17 00:00:00 2001 From: endernon Date: Wed, 1 Jan 2025 20:32:27 +0000 Subject: [PATCH] remove missing Powder Limit warning --- src/errorfr/mod.rs | 4 ---- src/main.rs | 1 - 2 files changed, 5 deletions(-) diff --git a/src/errorfr/mod.rs b/src/errorfr/mod.rs index 2694c8b..e22cd23 100644 --- a/src/errorfr/mod.rs +++ b/src/errorfr/mod.rs @@ -42,8 +42,4 @@ pub enum Errorfr { /// unable to copy (write in) file content #[error("Error 3.4: Download successful, but unable to write to file.")] JsonDlReqFileWriteFail, - - /// powder limit was not present but powder vec was - #[error("Error 4.1: Array of powders was present, but powder limit was not. \nIf you are using a powder array, the \"powder_limit\" value MUST be present. \nIf you're confused, just set it to 255.\nSuggestion: \"powder_limit\": 255")] - PowderLimitNotPresent } diff --git a/src/main.rs b/src/main.rs index f592b26..a0f34f4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,6 @@ use crate::errorfr::Errorfr; use clap::Parser; use reqwest::Url; -use crate::errorfr::Errorfr::PowderLimitNotPresent; #[derive(Parser, Debug, Clone)] #[command(version, about, long_about = None, arg_required_else_help(true))]