Browse Source

client: fixed typo on error statement

lunar-mining 4 năm trước cách đây
mục cha
commit
32888651bc
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 {
     fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
         match self {
         match self {
             ClientFailed::NotEnoughValue(i) => {
             ClientFailed::NotEnoughValue(i) => {
-                write!(f, "There is no enough value {}", i)
+                write!(f, "There is not enough value {}", i)
             }
             }
             ClientFailed::InvalidAddress(i) => {
             ClientFailed::InvalidAddress(i) => {
                 write!(f, "Invalid Address {}", i)
                 write!(f, "Invalid Address {}", i)