Skip to content

Commit

Permalink
Improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
teiesti committed Jun 5, 2018
1 parent 63885f7 commit 089da06
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/doc/rustdoc/src/documentation-tests.md
Expand Up @@ -171,8 +171,9 @@ explanation.

## Using `?` in doc tests

A complete error handling is often not useful in your example, as it would add
significant amounts of boilerplate code. Instead, you may want the following:
When writing an example, it is rarely useful to include a complete error
handling, as it would add significant amounts of boilerplate code. Instead, you
may want the following:

```ignore
/// ```
Expand Down

0 comments on commit 089da06

Please sign in to comment.