Skip to content

Commit fe4f85c

Browse files
committed
librustdoc: fix typos
1 parent fab6607 commit fe4f85c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/passes/lint/redundant_explicit_links.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ fn find_resolution(resolutions: &DocLinkResMap, path: &str) -> Option<Res<NodeId
244244
.find_map(|ns| resolutions.get(&(Symbol::intern(path), ns)).copied().flatten())
245245
}
246246

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

0 commit comments

Comments
 (0)