about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-09-27 18:37:26 +0200
committerGitHub <noreply@github.com>2020-09-27 18:37:26 +0200
commit06677cbcfcb9f15cb7f0d1ab2834b4e578bdfedd (patch)
tree405dbc7c76b41c869e8e2b0eed4aa22871cb30a5
parente687dac99208f1e3db471fb0991e993fda938001 (diff)
parentd9fc5b5ea8e48e9d24a7dfb8cab1dacb60d5cb7f (diff)
downloadrust-06677cbcfcb9f15cb7f0d1ab2834b4e578bdfedd.tar.gz
rust-06677cbcfcb9f15cb7f0d1ab2834b4e578bdfedd.zip
Rollup merge of #77256 - jyn514:typo, r=Aaron1011
Fix typo in ExpnData documentation

This mis-highlighted the entire documentation as code: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_span/hygiene/struct.ExpnData.html#structfield.krate
-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