Module rustdoc::passes::lint::unescaped_backticks
source Β· Expand description
Detects unescaped backticks (`) in doc comments.
Structs§
- Element πA markdown tagged element, which may or may not contain an unescaped backtick.
Enums§
- Prev
Code πGuess A previous inline code node, that looks wrong.
Functions§
- can_
suggest_ πbacktick Returns whether inserting a backtick atdox[index]
will not produce double backticks. - clamp_
end πDecrease the index until it is inside or one past the end of one of the ranges. - clamp_
start πIncrease the index until it is inside or one past the end of one of the ranges. - guess_
end_ πof_ code Given a potentially unclosed inline code, attempt to find the end. - guess_
start_ πof_ code Given a potentially unclosed inline code, attempt to find the start. - suggest_
insertion πTry to emit a span suggestion and fall back to help messages if we canβt find a suitable span. - visit_
item π