Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
tarfu committed Dec 26, 2023
1 parent a1d6560 commit c9b7039
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/asynch/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ use self::control::Control;
pub struct AtHandle<'d, AT: AtatClient>(&'d Mutex<NoopRawMutex, AT>);

impl<'d, AT: AtatClient> AtHandle<'d, AT> {
async fn send<Cmd: atat::AtatCmd>(
&mut self,
cmd: &Cmd,
) -> Result<Cmd::Response, atat::Error> {
async fn send<Cmd: atat::AtatCmd>(&mut self, cmd: &Cmd) -> Result<Cmd::Response, atat::Error> {
self.0.lock().await.send_retry::<Cmd>(cmd).await
}
}
Expand All @@ -38,12 +35,7 @@ impl<AT: AtatClient> State<AT> {
}
}

pub async fn new<
'a,
AT: AtatClient,
C: CellularConfig,
const URC_CAPACITY: usize,
>(
pub async fn new<'a, AT: AtatClient, C: CellularConfig, const URC_CAPACITY: usize>(
state: &'a mut State<AT>,
subscriber: &'a UrcChannel<Urc, URC_CAPACITY, 2>,
config: C,
Expand Down

0 comments on commit c9b7039

Please sign in to comment.