Fix clippy_lints doc-tests

This commit is contained in:
Mateusz Mikuła
2018-06-25 21:22:53 +02:00
parent a6601f2d02
commit 1036df5699
3 changed files with 7 additions and 7 deletions

View File

@@ -612,7 +612,7 @@ pub fn span_lint_and_then<'a, 'tcx: 'a, T: LintContext<'tcx>, F>(
/// These suggestions can be parsed by rustfix to allow it to automatically fix your code.
/// In the example below, `help` is `"try"` and `sugg` is the suggested replacement `".any(|x| x > 2)"`.
///
/// ```
/// ```ignore
/// error: This `.fold` can be more succinctly expressed as `.any`
/// --> $DIR/methods.rs:390:13
/// |