about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTakayuki Nakata <f.seasons017@gmail.com>2020-08-05 23:44:28 +0900
committerTakayuki Nakata <f.seasons017@gmail.com>2020-08-07 23:25:47 +0900
commit7d4565bf02a94370a2dce4ab0cfb2c79d61270a1 (patch)
tree535d3c12a7fb0087662e067e216e32aae60a6ef8
parent8b26609481c956a666f9189738f1ba611078e1ab (diff)
downloadrust-7d4565bf02a94370a2dce4ab0cfb2c79d61270a1.tar.gz
rust-7d4565bf02a94370a2dce4ab0cfb2c79d61270a1.zip
Add missing backtick
-rw-r--r--src/librustc_ast/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_ast/ast.rs b/src/librustc_ast/ast.rs
index 6543117774a..fe609388af3 100644
--- a/src/librustc_ast/ast.rs
+++ b/src/librustc_ast/ast.rs
@@ -378,7 +378,7 @@ impl Default for Generics {
 #[derive(Clone, RustcEncodable, RustcDecodable, Debug)]
 pub struct WhereClause {
     /// `true` if we ate a `where` token: this can happen
-    /// if we parsed no predicates (e.g. `struct Foo where {}
+    /// if we parsed no predicates (e.g. `struct Foo where {}`).
     /// This allows us to accurately pretty-print
     /// in `nt_to_tokenstream`
     pub has_where_token: bool,