Skip to content

Commit

Permalink
Use fs_err instead of fs (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
evaera authored Oct 8, 2021
1 parent c46343c commit 7d8c06a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
7 changes: 7 additions & 0 deletions extractor/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions extractor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ structopt = "0.3.18"
serde = { version = "1.0.116", features = ["derive"] }
serde_json = "1.0.58"
pathdiff = "0.2.0"
fs-err = "2.6.0"

[dev-dependencies]
insta = "1.1.0"
Expand Down
4 changes: 3 additions & 1 deletion extractor/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
use std::{
collections::{BTreeMap, HashMap},
fs, io,
io,
path::{self, Path, PathBuf},
};

use fs_err as fs;

use anyhow::bail;
use codespan_reporting::{
diagnostic::Diagnostic as CodeSpanDiagnostic,
Expand Down

0 comments on commit 7d8c06a

Please sign in to comment.