Skip to content

Commit

Permalink
librustdoc: fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
vuittont60 committed Jan 3, 2024
1 parent fab6607 commit fe4f85c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustdoc/passes/lint/redundant_explicit_links.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ fn find_resolution(resolutions: &DocLinkResMap, path: &str) -> Option<Res<NodeId
.find_map(|ns| resolutions.get(&(Symbol::intern(path), ns)).copied().flatten())
}

/// Collects all neccessary data of link.
/// Collects all necessary data of link.
fn collect_link_data(offset_iter: &mut OffsetIter<'_, '_>) -> LinkData {
let mut resolvable_link = None;
let mut resolvable_link_range = None;
Expand Down

0 comments on commit fe4f85c

Please sign in to comment.