Skip to content

Commit

Permalink
tests(README): Add text type annotation (#29)
Browse files Browse the repository at this point in the history
Embarrassingly, I neglected the fact `rustdoc` compiles text in code-blocks as Rust code, unless specified otherwise, and that it was set up the include the `README.md` file as dummy documentation, causing it's tests to fail when attempting to compile the command example...

This should fix the mistake, by adding a `text` annotation to the block...
  • Loading branch information
DunnAnDusted authored Dec 8, 2022
1 parent 211722e commit edc88ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Documentation can be found at [Docs.rs].
**Minimum Supported Rust Version:** 1.63.0

`test_gen` can be added to a project, using the following command:
```
```text
cargo add test_gen --dev
```

Expand Down

0 comments on commit edc88ac

Please sign in to comment.