refactor: needless (double) referencing removed

This commit is contained in:
Jack Wills
2023-01-26 21:00:32 +00:00
parent c129f474fe
commit a174dafe1b
2 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -293,7 +293,7 @@ impl DockerData {
/// Animate the loading icon
async fn loading_spin(loading_uuid: Uuid, gui_state: &Arc<Mutex<GuiState>>) -> JoinHandle<()> {
let gui_state = Arc::clone(&gui_state);
let gui_state = Arc::clone(gui_state);
tokio::spawn(async move {
loop {
tokio::time::sleep(std::time::Duration::from_millis(100)).await;