about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--compiler/rustc_ast_pretty/src/pprust/state.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_ast_pretty/src/pprust/state.rs b/compiler/rustc_ast_pretty/src/pprust/state.rs
index 351c2f58357..ff2cb59211b 100644
--- a/compiler/rustc_ast_pretty/src/pprust/state.rs
+++ b/compiler/rustc_ast_pretty/src/pprust/state.rs
@@ -1162,7 +1162,7 @@ impl<'a> State<'a> {
     /// For example each of the following would mean the wrong thing without
     /// parentheses.
     ///
-    /// ```ignore
+    /// ```ignore (illustrative)
     /// if let _ = (Struct {}) {}
     ///
     /// if let _ = (true && false) {}
@@ -1173,7 +1173,7 @@ impl<'a> State<'a> {
     /// the match guard expression. Parsing of the expression is not terminated
     /// by `{` in that position.
     ///
-    /// ```ignore
+    /// ```ignore (illustrative)
     /// match () {
     ///     () if let _ = Struct {} => {}
     ///     () if let _ = (true && false) => {}