diff --git a/src/modem.rs b/src/modem.rs index 72ce128..10538f3 100644 --- a/src/modem.rs +++ b/src/modem.rs @@ -154,7 +154,7 @@ where type L3<'t> = &'t DummyNetif where Self: 't; async fn split(&mut self) -> (Self::L2<'_>, Self::L3<'_>) { - (DummyL2::new(), &self.0) + (DummyL2::new(), self.0) } }