Skip to content

Commit

Permalink
Fix error result
Browse files Browse the repository at this point in the history
  • Loading branch information
vit1251 committed Aug 17, 2021
1 parent 7efcef5 commit 3d6d5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ impl AutoCfg {
}
}

fn write(&self) -> Result<()> {
fn write(&self) -> Result<(), std::io::Error> {

let mut stream = File::create(self.config_dir);

Expand Down

0 comments on commit 3d6d5c2

Please sign in to comment.