Fix doc-comment.

This commit is contained in:
Camille GILLOT 2025-08-04 23:36:05 +00:00 committed by Camille Gillot
parent 18eeac04fc
commit 6dcc8617d3

View file

@ -74,9 +74,8 @@ use crate::{BytePos, SPAN_TRACK, SpanData};
/// because `parent` isn't currently used by default.
///
/// In order to reliably use parented spans in incremental compilation,
/// the dependency to the parent definition's span. This is performed
/// using the callback `SPAN_TRACK` to access the query engine.
///
/// accesses to `lo` and `hi` must introduce a dependency to the parent definition's span.
/// This is performed using the callback `SPAN_TRACK` to access the query engine.
#[derive(Clone, Copy, Eq, PartialEq, Hash)]
#[rustc_pass_by_value]
pub struct Span {