about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/rustdoc.rs
diff options
context:
space:
mode:
authorAlexander Cyon <alex.cyon@gmail.com>2024-09-02 07:50:22 +0200
committerAlexander Cyon <alex.cyon@gmail.com>2024-09-02 07:50:22 +0200
commit00de006f22f2304bddabb2d00a13af242ea21c17 (patch)
tree3541122ca018d452badc01254881422d4948270c /compiler/rustc_resolve/src/rustdoc.rs
parent78d5c04d9c64a57134e6bd39090847351379e6ae (diff)
downloadrust-00de006f22f2304bddabb2d00a13af242ea21c17.tar.gz
rust-00de006f22f2304bddabb2d00a13af242ea21c17.zip
chore: Fix typos in 'compiler' (batch 2)
Diffstat (limited to 'compiler/rustc_resolve/src/rustdoc.rs')
-rw-r--r--compiler/rustc_resolve/src/rustdoc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/rustdoc.rs b/compiler/rustc_resolve/src/rustdoc.rs
index de4fc5c27d4..976c4acb212 100644
--- a/compiler/rustc_resolve/src/rustdoc.rs
+++ b/compiler/rustc_resolve/src/rustdoc.rs
@@ -417,7 +417,7 @@ pub(crate) fn attrs_to_preprocessed_links(attrs: &[ast::Attribute]) -> Vec<Box<s
     parse_links(&doc)
 }
 
-/// Similiar version of `markdown_links` from rustdoc.
+/// Similar version of `markdown_links` from rustdoc.
 /// This will collect destination links and display text if exists.
 fn parse_links<'md>(doc: &'md str) -> Vec<Box<str>> {
     let mut broken_link_callback = |link: BrokenLink<'md>| Some((link.reference, "".into()));