README: update lint output

This commit is contained in:
Georg Brandl 2015-08-12 07:47:21 +02:00
parent 854212ce85
commit 2eacb3c146

View file

@ -78,11 +78,8 @@ src/main.rs:8 match x {
src/main.rs:9 Some(y) => println!("{:?}", y),
src/main.rs:10 _ => ()
src/main.rs:11 }
src/main.rs:8:5: 11:6 note: Try if let Some(y) = x { ... }
src/main.rs:8 match x {
src/main.rs:9 Some(y) => println!("{:?}", y),
src/main.rs:10 _ => ()
src/main.rs:11 }
src/main.rs:8:5: 11:6 help: Try
if let Some(y) = x { println!("{:?}", y) }
```
You can add options to `allow`/`warn`/`deny`: