diff --git a/embassy-net/src/lib.rs b/embassy-net/src/lib.rs index 12f5f30b4..1448dbc1f 100644 --- a/embassy-net/src/lib.rs +++ b/embassy-net/src/lib.rs @@ -414,7 +414,7 @@ impl Stack { /// ```ignore /// let config = embassy_net::Config::dhcpv4(Default::default()); ///// Init network stack - /// static RESOURCES: StaticCell = StaticCell::new(); + /// static RESOURCES: StaticCell> = StaticCell::new(); /// static STACK: StaticCell = StaticCell::new(); /// let stack = &*STACK.init(embassy_net::Stack::new( /// device,