Skip to content

Commit c70a636

Browse files
committed
Remove newlines from yield_with examples
1 parent 13ff0ca commit c70a636

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/state.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2100,7 +2100,7 @@ impl Lua {
21002100
///
21012101
/// ```
21022102
/// # use mlua::{Lua, Result};
2103-
///
2103+
/// #
21042104
/// async fn generator(lua: Lua, _: ()) -> Result<()> {
21052105
/// for i in 0..10 {
21062106
/// lua.yield_with::<()>(i).await?;
@@ -2127,7 +2127,7 @@ impl Lua {
21272127
///
21282128
/// ```
21292129
/// # use mlua::{Lua, Result, Value};
2130-
///
2130+
/// #
21312131
/// async fn pingpong(lua: Lua, mut val: i32) -> Result<()> {
21322132
/// loop {
21332133
/// val = lua.yield_with::<i32>(val).await? + 1;

0 commit comments

Comments
 (0)