about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoshua Nelson <jyn514@gmail.com>2020-09-27 00:09:45 -0400
committerJoshua Nelson <jyn514@gmail.com>2020-09-27 00:10:54 -0400
commitd9fc5b5ea8e48e9d24a7dfb8cab1dacb60d5cb7f (patch)
tree920bc9939106f80c69a4b246c7ab1ce31c732d73
parentcbc5e4d4d5715cfe111def11bbd1d8afae2ea80e (diff)
downloadrust-d9fc5b5ea8e48e9d24a7dfb8cab1dacb60d5cb7f.tar.gz
rust-d9fc5b5ea8e48e9d24a7dfb8cab1dacb60d5cb7f.zip
Fix typo in ExpnData documentation
This mis-highlighted the entire documentation as code.
-rw-r--r--compiler/rustc_span/src/hygiene.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_span/src/hygiene.rs b/compiler/rustc_span/src/hygiene.rs
index 942c6648340..fe500355c1e 100644
--- a/compiler/rustc_span/src/hygiene.rs
+++ b/compiler/rustc_span/src/hygiene.rs
@@ -702,7 +702,7 @@ pub struct ExpnData {
     /// The `DefId` of the macro being invoked,
     /// if this `ExpnData` corresponds to a macro invocation
     pub macro_def_id: Option<DefId>,
-    /// The crate that originally created this `ExpnData. During
+    /// The crate that originally created this `ExpnData`. During
     /// metadata serialization, we only encode `ExpnData`s that were
     /// created locally - when our serialized metadata is decoded,
     /// foreign `ExpnId`s will have their `ExpnData` looked up