Skip to content

Commit 089da06

Browse files
committed
Improve wording
1 parent 63885f7 commit 089da06

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/doc/rustdoc/src/documentation-tests.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,9 @@ explanation.
171171
172172
## Using `?` in doc tests
173173
174-
A complete error handling is often not useful in your example, as it would add
175-
significant amounts of boilerplate code. Instead, you may want the following:
174+
When writing an example, it is rarely useful to include a complete error
175+
handling, as it would add significant amounts of boilerplate code. Instead, you
176+
may want the following:
176177
177178
```ignore
178179
/// ```

0 commit comments

Comments
 (0)