Skip to content

Commit

Permalink
Merge pull request #653 from gnzlbg/remove_warning
Browse files Browse the repository at this point in the history
Fix warning in stable-check
  • Loading branch information
Centril authored Aug 15, 2019
2 parents 97f9691 + 3613604 commit d191a0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions stable-check/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
name = "stable-check"
version = "0.1.0"
authors = ["steveklabnik <[email protected]>"]

[dependencies]
edition = "2018"
2 changes: 1 addition & 1 deletion stable-check/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ fn main() {
}
}

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

0 comments on commit d191a0c

Please sign in to comment.