mirror of
https://github.com/danbulant/design
synced 2026-05-24 12:23:57 +00:00
fix table in do while pattern
This commit is contained in:
parent
34245a1bef
commit
c17d143621
1 changed files with 3 additions and 3 deletions
|
|
@ -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 |
|
||||||
| -- | ---- |
|
| -- | ---- |
|
||||||
| `() => {}{:js}` | `|| {}{:rust}` |
|
| `() => {}{:js}` | `\|\| {}{:rust}` |
|
||||||
| `() => 1{:js}` | `|| 1{:rust}` |
|
| `() => 1{:js}` | `\|\| 1{:rust}` |
|
||||||
| `a => a{:js}` | `|a| a{: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.
|
Please not that I don't recommend using this syntax as it's kinda confusing. Use `loop{:rust}` with `if{:rust}` instead.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue