Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
sinkuu committed Mar 10, 2020
1 parent a3d9355 commit 227ef60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
/// }
/// ```
Expand Down

0 comments on commit 227ef60

Please sign in to comment.