embassy-net: fix minor typo in doc

This commit is contained in:
Gasper Stukelj 2024-07-17 22:40:30 +02:00 committed by Dario Nieuwenhuis
parent e54c753537
commit dc84b4f45a

View File

@ -414,7 +414,7 @@ impl<D: Driver> Stack<D> {
/// ```ignore
/// let config = embassy_net::Config::dhcpv4(Default::default());
///// Init network stack
/// static RESOURCES: StaticCell<embassy_net::StackResources<2> = StaticCell::new();
/// static RESOURCES: StaticCell<embassy_net::StackResources<2>> = StaticCell::new();
/// static STACK: StaticCell<embassy_net::Stack> = StaticCell::new();
/// let stack = &*STACK.init(embassy_net::Stack::new(
/// device,