about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2021-08-08 01:13:43 +0900
committerGitHub <noreply@github.com>2021-08-08 01:13:43 +0900
commit08f56b7bdb6684800711bfc6a7e7adef7cfd99e4 (patch)
tree97468bd33cf5ffd8e21dfb338991f090ed1f7f4f
parent6ddbf9ec3c30eedcb5f3288afa3508f4ceb7c6ba (diff)
parent35122393fdf943fbaa8225bbbc177f9f9c38496a (diff)
downloadrust-08f56b7bdb6684800711bfc6a7e7adef7cfd99e4.tar.gz
rust-08f56b7bdb6684800711bfc6a7e7adef7cfd99e4.zip
Rollup merge of #87834 - camelid:span-typo, r=CraftSpider
Fix small typo

The closing backtick was outside the closing bracket,
which is why the intra-doc link wasn't working.
-rw-r--r--src/librustdoc/clean/types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/types.rs b/src/librustdoc/clean/types.rs
index 22e4d21c87b..af42a4cd06d 100644
--- a/src/librustdoc/clean/types.rs
+++ b/src/librustdoc/clean/types.rs
@@ -1937,7 +1937,7 @@ crate enum Variant {
     Struct(VariantStruct),
 }
 
-/// Small wrapper around [`rustc_span::Span]` that adds helper methods
+/// Small wrapper around [`rustc_span::Span`] that adds helper methods
 /// and enforces calling [`rustc_span::Span::source_callsite()`].
 #[derive(Copy, Clone, Debug)]
 crate struct Span(rustc_span::Span);