Skip to content

Commit 9e971f3

Browse files
committed
Fix doc
1 parent a3d9355 commit 9e971f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/utils/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ pub fn is_trait_impl_item(cx: &LateContext<'_, '_>, hir_id: HirId) -> bool {
13821382
/// `trivial_bounds` feature allows functions with unsatisfiable bounds, for example:
13831383
///
13841384
/// ```rust
1385-
/// fn foo() i32: Iterator {
1385+
/// fn foo() where i32: Iterator {
13861386
/// for _ in 2i32 {}
13871387
/// }
13881388
/// ```

0 commit comments

Comments
 (0)