Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/ide/src/doc_links.rs')
| -rw-r--r-- | crates/ide/src/doc_links.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ide/src/doc_links.rs b/crates/ide/src/doc_links.rs index 2b788fb6cf..9ad11b7a65 100644 --- a/crates/ide/src/doc_links.rs +++ b/crates/ide/src/doc_links.rs @@ -374,8 +374,8 @@ fn map_links<'e>( // holds the origin link target on start event and the rewritten one on end event let mut end_link_target: Option<CowStr> = None; // normally link's type is determined by the type of link tag in the end event, - // however in same cases we want to change the link type. - // For example, Shortcut type doesn't make sense for url links + // however in same cases we want to change the link type, for example, + // `Shortcut` type doesn't make sense for url links let mut end_link_type: Option<LinkType> = None; events.map(move |evt| match evt { |