Skip to content

Commit 5b3f84d

Browse files
authored
Rollup merge of #108929 - eltociear:patch-20, r=GuillaumeGomez
Fix typo in span_map.rs correspondance -> correspondence
2 parents ceff836 + 1866772 commit 5b3f84d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustdoc/html/render/span_map.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ pub(crate) enum LinkFromSrc {
2929

3030
/// This function will do at most two things:
3131
///
32-
/// 1. Generate a `span` correspondance map which links an item `span` to its definition `span`.
32+
/// 1. Generate a `span` correspondence map which links an item `span` to its definition `span`.
3333
/// 2. Collect the source code files.
3434
///
35-
/// It returns the `krate`, the source code files and the `span` correspondance map.
35+
/// It returns the `krate`, the source code files and the `span` correspondence map.
3636
///
37-
/// Note about the `span` correspondance map: the keys are actually `(lo, hi)` of `span`s. We don't
37+
/// Note about the `span` correspondence map: the keys are actually `(lo, hi)` of `span`s. We don't
3838
/// need the `span` context later on, only their position, so instead of keep a whole `Span`, we
3939
/// only keep the `lo` and `hi`.
4040
pub(crate) fn collect_spans_and_sources(

0 commit comments

Comments
 (0)