We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 219b072 + 0cc7ea4 commit b2c32e1Copy full SHA for b2c32e1
1 file changed
README.md
@@ -33,7 +33,7 @@ fn main() {
33
34
// Automatically select the best implementation for your platform.
35
// You can also access each implementation directly e.g. INotifyWatcher.
36
- let mut w: Result<RecommendedWatcher, Error> = Watcher::new(tx);
+ let w: Result<RecommendedWatcher, Error> = Watcher::new(tx);
37
38
match w {
39
Ok(mut watcher) => {
@@ -47,7 +47,7 @@ fn main() {
47
_ => println!("Recv.")
48
}
49
},
50
- Err(e) => println!("Error")
+ Err(_) => println!("Error")
51
52
53
```
0 commit comments