diff options
| author | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2020-03-10 13:27:33 +0900 |
|---|---|---|
| committer | Shotaro Yamada <sinkuu@sinkuu.xyz> | 2020-03-10 13:28:45 +0900 |
| commit | 227ef60a2b2fd3d78eb39d4361efc224be38cbb6 (patch) | |
| tree | a490ee57f92d2f46f30671ade11c97ff51392686 | |
| parent | a3d9355bef01aaefb9b6f3fb53b88cd4ce156453 (diff) | |
| download | rust-227ef60a2b2fd3d78eb39d4361efc224be38cbb6.tar.gz rust-227ef60a2b2fd3d78eb39d4361efc224be38cbb6.zip | |
Fix doc
| -rw-r--r-- | clippy_lints/src/utils/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/utils/mod.rs b/clippy_lints/src/utils/mod.rs index a27245fd234..9f7cf400765 100644 --- a/clippy_lints/src/utils/mod.rs +++ b/clippy_lints/src/utils/mod.rs @@ -1381,8 +1381,8 @@ pub fn is_trait_impl_item(cx: &LateContext<'_, '_>, hir_id: HirId) -> bool { /// /// `trivial_bounds` feature allows functions with unsatisfiable bounds, for example: /// -/// ```rust -/// fn foo() i32: Iterator { +/// ```ignore +/// fn foo() where i32: Iterator { /// for _ in 2i32 {} /// } /// ``` |
