about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-03-09 12:11:55 +0100
committerGitHub <noreply@github.com>2023-03-09 12:11:55 +0100
commit5b3f84d8af3668944f25b542d2f71f88f253ecc0 (patch)
treea20072b43f3d88c665e0e31fefeffb4e902ebc80
parentceff836bfeed176d62197a2f3a8194576219792b (diff)
parent18667722e2b65bfce98468738ffa1d95ba0f71fd (diff)
downloadrust-5b3f84d8af3668944f25b542d2f71f88f253ecc0.tar.gz
rust-5b3f84d8af3668944f25b542d2f71f88f253ecc0.zip
Rollup merge of #108929 - eltociear:patch-20, r=GuillaumeGomez
Fix typo in span_map.rs

correspondance -> correspondence
-rw-r--r--src/librustdoc/html/render/span_map.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/html/render/span_map.rs b/src/librustdoc/html/render/span_map.rs
index 4514894cabe..eb9262f472b 100644
--- a/src/librustdoc/html/render/span_map.rs
+++ b/src/librustdoc/html/render/span_map.rs
@@ -29,12 +29,12 @@ pub(crate) enum LinkFromSrc {
 
 /// This function will do at most two things:
 ///
-/// 1. Generate a `span` correspondance map which links an item `span` to its definition `span`.
+/// 1. Generate a `span` correspondence map which links an item `span` to its definition `span`.
 /// 2. Collect the source code files.
 ///
-/// It returns the `krate`, the source code files and the `span` correspondance map.
+/// It returns the `krate`, the source code files and the `span` correspondence map.
 ///
-/// Note about the `span` correspondance map: the keys are actually `(lo, hi)` of `span`s. We don't
+/// 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
 /// only keep the `lo` and `hi`.
 pub(crate) fn collect_spans_and_sources(