Skip to content

Commit

Permalink
Fix failing doc test in migration guide (#3404)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
moyeah authored Sep 23, 2023
1 parent e249128 commit b71dbfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions website/docs/migration-guides/yew/from-0_18_0-to-0_19_0.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -29,7 +29,7 @@ html!{
</TabItem>
<TabItem value="Valid" label="Valid">

```rust {4}, ignore
```rust ,ignore {4}
let super_age = 1;
html!{
<JapaneseYew
Expand All @@ -43,7 +43,7 @@ html!{

Shorthand initialization has been added:

```rust {4}, ignore
```rust ,ignore {4}
let age = 1;
html!{
<JapaneseYew
Expand Down

0 comments on commit b71dbfe

Please sign in to comment.