Преглед изворни кода

client: fixed typo on error statement

lunar-mining пре 4 година
родитељ
комит
32888651bc
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/client.rs

+ 1 - 1
src/client.rs

@@ -509,7 +509,7 @@ impl std::fmt::Display for ClientFailed {
     fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
         match self {
             ClientFailed::NotEnoughValue(i) => {
-                write!(f, "There is no enough value {}", i)
+                write!(f, "There is not enough value {}", i)
             }
             ClientFailed::InvalidAddress(i) => {
                 write!(f, "Invalid Address {}", i)