Skip to content

Commit 227ef60

Browse files
committed
Fix doc
1 parent a3d9355 commit 227ef60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/utils/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,8 +1381,8 @@ pub fn is_trait_impl_item(cx: &LateContext<'_, '_>, hir_id: HirId) -> bool {
13811381
///
13821382
/// `trivial_bounds` feature allows functions with unsatisfiable bounds, for example:
13831383
///
1384-
/// ```rust
1385-
/// fn foo() i32: Iterator {
1384+
/// ```ignore
1385+
/// fn foo() where i32: Iterator {
13861386
/// for _ in 2i32 {}
13871387
/// }
13881388
/// ```

0 commit comments

Comments
 (0)