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§
- PrevCodeGuess πA previous inline code node, that looks wrong.
Functions§
- can_suggest_backtick πReturns whether inserting a backtick at
dox[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 π