mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-14 17:07:17 +00:00
Fix doc
This commit is contained in:
parent
a3d9355bef
commit
227ef60a2b
1 changed files with 2 additions and 2 deletions
|
@ -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 {}
|
||||
/// }
|
||||
/// ```
|
||||
|
|
Loading…
Reference in a new issue