mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
Fix failing doc test in migration guide (#3404)
* Remove error: doctest failed, to rerun pass `-p website-test --doc` (#3404) Changes to be committed: modified: website/docs/migration-guides/yew/from-0_18_0-to-0_19_0.mdx
This commit is contained in:
parent
e249128f12
commit
b71dbfe17e
@ -17,7 +17,7 @@ props with braces.
|
||||
<Tabs>
|
||||
<TabItem value="Invalid" label="Invalid">
|
||||
|
||||
```rust {4}, ignore
|
||||
```rust ,ignore {4}
|
||||
let super_age = 1;
|
||||
html!{
|
||||
<JapaneseYew
|
||||
@ -29,7 +29,7 @@ html!{
|
||||
</TabItem>
|
||||
<TabItem value="Valid" label="Valid">
|
||||
|
||||
```rust {4}, ignore
|
||||
```rust ,ignore {4}
|
||||
let super_age = 1;
|
||||
html!{
|
||||
<JapaneseYew
|
||||
@ -43,7 +43,7 @@ html!{
|
||||
|
||||
Shorthand initialization has been added:
|
||||
|
||||
```rust {4}, ignore
|
||||
```rust ,ignore {4}
|
||||
let age = 1;
|
||||
html!{
|
||||
<JapaneseYew
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user