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

small fix on Empty slot data

* Stopped pasting "Empty" on top of "Null"
lunar-mining пре 4 година
родитељ
комит
845040f978
1 измењених фајлова са 1 додато и 1 уклоњено
  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(),
                     );