Skip to content

Commit d191a0c

Browse files
authoredAug 15, 2019
Merge pull request #653 from gnzlbg/remove_warning
Fix warning in stable-check
2 parents 97f9691 + 3613604 commit d191a0c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
 

‎stable-check/Cargo.toml

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@
22
name = "stable-check"
33
version = "0.1.0"
44
authors = ["steveklabnik <steve@steveklabnik.com>"]
5-
6-
[dependencies]
5+
edition = "2018"

‎stable-check/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fn main() {
2020
}
2121
}
2222

23-
fn check_directory(dir: &Path) -> Result<(), Box<Error>> {
23+
fn check_directory(dir: &Path) -> Result<(), Box<dyn Error>> {
2424
for entry in fs::read_dir(dir)? {
2525
let entry = entry?;
2626
let path = entry.path();

0 commit comments

Comments
 (0)
Please sign in to comment.