Change from ignore to rust
This commit is contained in:
parent
bd8f289247
commit
dd007e4477
@ -61,13 +61,15 @@ declare_clippy_lint! {
|
||||
/// **Known problems:** None.
|
||||
///
|
||||
/// **Example:**
|
||||
/// ```ignore
|
||||
/// ```rust
|
||||
/// let vec = vec!['a', 'b', 'c'];
|
||||
/// for i in 0..vec.len() {
|
||||
/// println!("{}", vec[i]);
|
||||
/// }
|
||||
/// ```
|
||||
/// Could be written as:
|
||||
/// ```ignore
|
||||
/// ```rust
|
||||
/// let vec = vec!['a', 'b', 'c'];
|
||||
/// for i in vec {
|
||||
/// println!("{}", i);
|
||||
/// }
|
||||
|
Loading…
x
Reference in New Issue
Block a user