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
- A previous inline code node, that looks wrong.
Functions
- Returns whether inserting a backtick at
dox[index]
will not produce double backticks. - Decrease the index until it is inside or one past the end of one of the ranges.
- Increase the index until it is inside or one past the end of one of the ranges.
- Given a potentially unclosed inline code, attempt to find the end.
- Given a potentially unclosed inline code, attempt to find the start.
- Try to emit a span suggestion and fall back to help messages if we can’t find a suitable span.