From c17d143621067867864e388755d168e9aa7140f3 Mon Sep 17 00:00:00 2001 From: Daniel Bulant Date: Sat, 6 Jan 2024 22:22:36 +0100 Subject: [PATCH] fix table in do while pattern --- src/routes/posts/rust-basics/+page.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/posts/rust-basics/+page.md b/src/routes/posts/rust-basics/+page.md index baf13c4..d1e5292 100644 --- a/src/routes/posts/rust-basics/+page.md +++ b/src/routes/posts/rust-basics/+page.md @@ -519,9 +519,9 @@ You can read more about them in the rust book - for a JS dev, the following is e | js | rust | | -- | ---- | -| `() => {}{:js}` | `|| {}{:rust}` | -| `() => 1{:js}` | `|| 1{:rust}` | -| `a => a{:js}` | `|a| a{:rust}`| +| `() => {}{:js}` | `\|\| {}{:rust}` | +| `() => 1{:js}` | `\|\| 1{:rust}` | +| `a => a{:js}` | `\|a\| a{:rust}`| Please not that I don't recommend using this syntax as it's kinda confusing. Use `loop{:rust}` with `if{:rust}` instead.