clippy: docs: put more relevant things into backticks.

This commit is contained in:
Matthias Krüger
2017-11-19 16:36:55 +01:00
committed by Andrew Gallant
parent 8141da9d39
commit 5173bfb11b
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ impl<'m, 'r> From<&'m Match<'r>> for Offset {
}
}
/// CountingReplacer implements the Replacer interface for Regex,
/// `CountingReplacer` implements the Replacer interface for Regex,
/// and counts how often replacement is being performed.
struct CountingReplacer<'r> {
replace: &'r [u8],