clippy::doc_markdown lint flags this in diffguard-types/lib.rs:520:
/// Rule code (maps from rule_id, e.g., "rust.no_unwrap").
"rule_id" appears unescaped. The identifier should be wrapped in backticks per Rust doc conventions.
This is the same class of bug as issue #555 (which fixed conform_real.rs:698,805). The prior fix didn't catch this occurrence in SensorReport::code's doc comment.
Fix: Change to:
/// Rule code (maps from `rule_id`, e.g., \`"rust.no_unwrap"\`).
clippy::doc_markdown lint flags this in diffguard-types/lib.rs:520:
/// Rule code (maps from rule_id, e.g., "rust.no_unwrap")."rule_id" appears unescaped. The identifier should be wrapped in backticks per Rust doc conventions.
This is the same class of bug as issue #555 (which fixed
conform_real.rs:698,805). The prior fix didn't catch this occurrence inSensorReport::code's doc comment.Fix: Change to:
/// Rule code (maps from `rule_id`, e.g., \`"rust.no_unwrap"\`).