mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
Improve wording
This commit is contained in:
@@ -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
|
||||
/// ```
|
||||
|
||||
Reference in New Issue
Block a user