Skip to content

Commit 8ea0257

Browse files
Fix typo
1 parent c602e9a commit 8ea0257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/html/render/span_map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pub(crate) enum LinkFromSrc {
3636
/// It returns the `krate`, the source code files and the `span` correspondence map.
3737
///
3838
/// Note about the `span` correspondence map: the keys are actually `(lo, hi)` of `span`s. We don't
39-
/// need the `span` context later on, only their position, so instead of keep a whole `Span`, we
39+
/// need the `span` context later on, only their position, so instead of keeping a whole `Span`, we
4040
/// only keep the `lo` and `hi`.
4141
pub(crate) fn collect_spans_and_sources(
4242
tcx: TyCtxt<'_>,

0 commit comments

Comments
 (0)