From 089da06cc437aa4764f958ff441e79d7fca6b148 Mon Sep 17 00:00:00 2001 From: Tobias Stolzmann Date: Thu, 31 May 2018 20:01:03 +0200 Subject: [PATCH] Improve wording --- src/doc/rustdoc/src/documentation-tests.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/doc/rustdoc/src/documentation-tests.md b/src/doc/rustdoc/src/documentation-tests.md index 1fa385d652fd..2de69924b74d 100644 --- a/src/doc/rustdoc/src/documentation-tests.md +++ b/src/doc/rustdoc/src/documentation-tests.md @@ -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 /// ```