Просмотр исходного кода

small fix on Empty slot data

* Stopped pasting "Empty" on top of "Null"
lunar-mining 4 лет назад
Родитель
Сommit
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(),
                     );