]> git.lizzy.rs Git - rust.git/commitdiff
Fix typo in ExpnData documentation
authorJoshua Nelson <jyn514@gmail.com>
Sun, 27 Sep 2020 04:09:45 +0000 (00:09 -0400)
committerJoshua Nelson <jyn514@gmail.com>
Sun, 27 Sep 2020 04:10:54 +0000 (00:10 -0400)
This mis-highlighted the entire documentation as code.

compiler/rustc_span/src/hygiene.rs

index 942c6648340ef9226a8a30b394836396eafc8ceb..fe500355c1ed7439239e607e27260a1413a5094f 100644 (file)
@@ -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