mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 08:13:41 +00:00
Fix typo
This commit is contained in:
parent
c602e9aeaa
commit
8ea02578cd
@ -36,7 +36,7 @@ pub(crate) enum LinkFromSrc {
|
||||
/// It returns the `krate`, the source code files and the `span` correspondence map.
|
||||
///
|
||||
/// Note about the `span` correspondence map: the keys are actually `(lo, hi)` of `span`s. We don't
|
||||
/// need the `span` context later on, only their position, so instead of keep a whole `Span`, we
|
||||
/// need the `span` context later on, only their position, so instead of keeping a whole `Span`, we
|
||||
/// only keep the `lo` and `hi`.
|
||||
pub(crate) fn collect_spans_and_sources(
|
||||
tcx: TyCtxt<'_>,
|
||||
|
Loading…
Reference in New Issue
Block a user