Skip to content

Commit 6dcc861

Browse files
committed
Fix doc-comment.
1 parent 18eeac0 commit 6dcc861

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

compiler/rustc_span/src/span_encoding.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,8 @@ use crate::{BytePos, SPAN_TRACK, SpanData};
7474
/// because `parent` isn't currently used by default.
7575
///
7676
/// In order to reliably use parented spans in incremental compilation,
77-
/// the dependency to the parent definition's span. This is performed
78-
/// using the callback `SPAN_TRACK` to access the query engine.
79-
///
77+
/// accesses to `lo` and `hi` must introduce a dependency to the parent definition's span.
78+
/// This is performed using the callback `SPAN_TRACK` to access the query engine.
8079
#[derive(Clone, Copy, Eq, PartialEq, Hash)]
8180
#[rustc_pass_by_value]
8281
pub struct Span {

0 commit comments

Comments
 (0)