diff --git a/examples/ws_guessing_game.rs b/examples/ws_guessing_game.rs index 544147fd4d2..4034ce3dddb 100644 --- a/examples/ws_guessing_game.rs +++ b/examples/ws_guessing_game.rs @@ -212,7 +212,7 @@ fn main() -> anyhow::Result<()> { Ok(()) } -fn create_server<'a>() -> anyhow::Result> { +fn create_server() -> anyhow::Result { let peripherals = Peripherals::take()?; let sys_loop = EspSystemEventLoop::take()?; let nvs = EspDefaultNvsPartition::take()?;