Module rustdoc::passes::lint::unescaped_backticks

source Β·
Expand description

Detects unescaped backticks (`) in doc comments.

Structs§

Enums§

  • PrevCodeGuess πŸ”’
    A previous inline code node, that looks wrong.

Functions§

  • 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.
  • 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.
  • visit_item πŸ”’