about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-11-18 17:00:44 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2024-11-18 17:00:44 +0100
commit8ea02578cdae8a11f2c918c4d202696b95c26cc0 (patch)
tree61c5efc88821dacc8517ca85fa13300c96b0e983
parentc602e9aeaab636302d52b17da64e84044462a230 (diff)
downloadrust-8ea02578cdae8a11f2c918c4d202696b95c26cc0.tar.gz
rust-8ea02578cdae8a11f2c918c4d202696b95c26cc0.zip
Fix typo
-rw-r--r--src/librustdoc/html/render/span_map.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/html/render/span_map.rs b/src/librustdoc/html/render/span_map.rs
index b314b060368..fec6779965a 100644
--- a/src/librustdoc/html/render/span_map.rs
+++ b/src/librustdoc/html/render/span_map.rs
@@ -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<'_>,