File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ if expr.span.from_expansion() {
52
52
53
53
### ` Span.ctxt ` method
54
54
55
- The ` span ` 's context, given by the method [ ` ctxt ` ] and returning [ SpanContext ] ,
55
+ The ` span ` 's context, given by the method [ ` ctxt ` ] and returning [ SyntaxContext ] ,
56
56
represents if the span is from a macro expansion and, if it is, which
57
57
macro call expanded this span.
58
58
@@ -155,4 +155,4 @@ if in_external_macro(cx.sess(), foo_span) {
155
155
[ `from_expansion` ] : https://doc.rust-lang.org/stable/nightly-rustc/rustc_span/struct.Span.html#method.from_expansion
156
156
[ `in_external_macro` ] : https://doc.rust-lang.org/stable/nightly-rustc/rustc_middle/lint/fn.in_external_macro.html
157
157
[ Span ] : https://doc.rust-lang.org/stable/nightly-rustc/rustc_span/struct.Span.html
158
- [ SpanContext ] : https://doc.rust-lang.org/stable/nightly-rustc/rustc_span/hygiene/struct.SyntaxContext.html
158
+ [ SyntaxContext ] : https://doc.rust-lang.org/stable/nightly-rustc/rustc_span/hygiene/struct.SyntaxContext.html
You can’t perform that action at this time.
0 commit comments