Skip to content

Commit

Permalink
docs: Fix code block (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
stoically authored Nov 13, 2022
1 parent e23c117 commit 149109f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ You might want to check out the [html-to-string-macro example] as well.
This can be used to improve error reporting, e.g.

```rust,no-run
error: Invalid element
--> test-app\src\main.rs:14:13
error: Invalid element
--> examples/src/main.rs:14:13
|
14 | / <div>
15 | | "invalid node for some consumer specific reason"
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,9 @@
//!
//! This can be used to improve error reporting, e.g.
//!
//! ```rust,no-run
//! error: Invalid element
//! --> test-app\src\main.rs:14:13
//! ```ignore
//! error: Invalid element
//! --> examples/src/main.rs:14:13
//! |
//! 14 | / <div>
//! 15 | | "invalid node for some consumer specific reason"
Expand Down

0 comments on commit 149109f

Please sign in to comment.