Explorar el Código

client: fixed typo on error statement

lunar-mining hace 4 años
padre
commit
32888651bc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)