Drop futures-timer dev-dependency

This commit is contained in:
Alex Orlenko
2023-07-10 01:16:27 +01:00
parent 08ab685d8d
commit 6b8b79266f
4 changed files with 25 additions and 25 deletions
+1 -2
View File
@@ -1601,11 +1601,10 @@ impl Lua {
///
/// ```
/// use std::time::Duration;
/// use futures_timer::Delay;
/// use mlua::{Lua, Result};
///
/// async fn sleep(_lua: &Lua, n: u64) -> Result<&'static str> {
/// Delay::new(Duration::from_millis(n)).await;
/// tokio::time::sleep(Duration::from_millis(n)).await;
/// Ok("done")
/// }
///