We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13ff0ca commit c70a636Copy full SHA for c70a636
src/state.rs
@@ -2100,7 +2100,7 @@ impl Lua {
2100
///
2101
/// ```
2102
/// # use mlua::{Lua, Result};
2103
- ///
+ /// #
2104
/// async fn generator(lua: Lua, _: ()) -> Result<()> {
2105
/// for i in 0..10 {
2106
/// lua.yield_with::<()>(i).await?;
@@ -2127,7 +2127,7 @@ impl Lua {
2127
2128
2129
/// # use mlua::{Lua, Result, Value};
2130
2131
/// async fn pingpong(lua: Lua, mut val: i32) -> Result<()> {
2132
/// loop {
2133
/// val = lua.yield_with::<i32>(val).await? + 1;
0 commit comments