Skip to content

Commit

Permalink
🐞 fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
tom8zds committed Jul 5, 2024
1 parent cdcd799 commit 8a8a970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/src/bridge.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::{
actor::{
core::{CoreActorHandle, CoreConfig},
mission::{pending::PendingMissionDto, transfer::TransferMissionDto},
model::{Mission, NodeDevice},
model::{NodeDevice},
},
frb_generated::StreamSink,
logger,
Expand Down Expand Up @@ -64,7 +64,7 @@ pub async fn listen_device(s: StreamSink<Vec<NodeDevice>>) {
}

pub async fn listen_pending_mission(s: StreamSink<PendingMissionDto>) {
let rx = _get_core().mission.pending.listen().await;
let mut rx = _get_core().mission.pending.listen().await;
loop {
let _ = rx.changed().await;
let data = rx.borrow().clone();
Expand Down

0 comments on commit 8a8a970

Please sign in to comment.