Explorar el Código

small fix on Empty slot data

* Stopped pasting "Empty" on top of "Null"
lunar-mining hace 4 años
padre
commit
845040f978
Se han modificado 1 ficheros con 1 adiciones y 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 new_slot = Slot::new(
                         is_empty,
-                        String::from("Empty"),
+                        String::new(),
                         channel,
                         state.as_str().unwrap().to_string(),
                     );