Skip to content

Commit

Permalink
idiomatic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
robertohuertasm committed Jun 16, 2019
1 parent 6204d90 commit b6239d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/decompiler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl Decompiler {
i,
outpath.as_path().display()
);
self.extract_msg(&msg);
self.extract_msg(msg.as_str());
fs::create_dir_all(&outpath)?;
} else {
let msg = format!(
Expand All @@ -109,7 +109,7 @@ impl Decompiler {
outpath.as_path().display(),
file.size()
);
self.extract_msg(&msg);
self.extract_msg(msg.as_str());
if let Some(p) = outpath.parent() {
if !p.exists() {
fs::create_dir_all(&p)?;
Expand Down

0 comments on commit b6239d2

Please sign in to comment.