Explorar o código

small fix on Empty slot data

* Stopped pasting "Empty" on top of "Null"
lunar-mining %!s(int64=4) %!d(string=hai) anos
pai
achega
845040f978
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      bin/dnetview/src/main.rs

+ 1 - 1
bin/dnetview/src/main.rs

@@ -204,7 +204,7 @@ async fn poll(client: DNetView, model: Arc<Model>) -> Result<()> {
                     let channel = Channel::new(msg, status);
                     let channel = Channel::new(msg, status);
                     let new_slot = Slot::new(
                     let new_slot = Slot::new(
                         is_empty,
                         is_empty,
-                        String::from("Empty"),
+                        String::new(),
                         channel,
                         channel,
                         state.as_str().unwrap().to_string(),
                         state.as_str().unwrap().to_string(),
                     );
                     );