Skip to content

Commit

Permalink
Appease clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bschwind committed Mar 29, 2024
1 parent 66affb7 commit d55d820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hostsfile/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ impl HostsBuilder {

let hosts_file = OpenOptions::new()
.create(true)
.truncate(true)
.read(true)
.write(true)
.open(hosts_path)?;
Expand Down

0 comments on commit d55d820

Please sign in to comment.