Skip to content

Commit 54a9d94

Browse files
committed
fix typo
1 parent 4bc4a5b commit 54a9d94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustdoc/passes/collect_intra_doc_links.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ fn preprocess_link(
10001000
// If there's no backticks, be lenient and revert to the old behavior.
10011001
// This is to prevent churn by linting on stuff that isn't meant to be a link.
10021002
// only shortcut links have simple enough syntax that they
1003-
// are likely to be written accidentlly, collapsed and reference links
1003+
// are likely to be written accidentally, collapsed and reference links
10041004
// need 4 metachars, and reference links will not usually use
10051005
// backticks in the reference name.
10061006
// therefore, only shortcut syntax gets the lenient behavior.

0 commit comments

Comments
 (0)