Skip to content

Commit 06677cb

Browse files
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
2 parents e687dac + d9fc5b5 commit 06677cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_span/src/hygiene.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ pub struct ExpnData {
702702
/// The `DefId` of the macro being invoked,
703703
/// if this `ExpnData` corresponds to a macro invocation
704704
pub macro_def_id: Option<DefId>,
705-
/// The crate that originally created this `ExpnData. During
705+
/// The crate that originally created this `ExpnData`. During
706706
/// metadata serialization, we only encode `ExpnData`s that were
707707
/// created locally - when our serialized metadata is decoded,
708708
/// foreign `ExpnId`s will have their `ExpnData` looked up

0 commit comments

Comments
 (0)