From 73369978ca8852c1ec7d3705d282117d8d57deac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Wo=C5=BAniak?= Date: Sat, 31 Jul 2021 20:33:45 +0200 Subject: [PATCH] Update src/main.rs Co-authored-by: Richard Kuhnt --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 31503f4..e9596e8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,7 +30,7 @@ impl std::fmt::Display for AmdFanError { match self { AmdFanError::InvalidPrefix => f.write_str("Card must starts with `card`."), AmdFanError::InputTooShort => f.write_str( - "Card must starts with `card` and ends with number. Given name is too short.", + "Card must start with `card` and ends with a number. The given name is too short.", ), AmdFanError::InvalidSuffix(s) => { f.write_fmt(format_args!("Value after `card` is invalid {}", s))