Skip to content

Commit

Permalink
store.rs: Drop unnecessary ref
Browse files Browse the repository at this point in the history
Fixes complaint of latest clippy.
  • Loading branch information
martinpitt committed Nov 4, 2022
1 parent a8f74ba commit 5c1d19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl Timelog {
}

fn read(path: &PathBuf) -> String {
match File::open(&path) {
match File::open(path) {
Ok(mut f) => {
let mut contents = String::new();
f.read_to_string(&mut contents)
Expand Down

0 comments on commit 5c1d19b

Please sign in to comment.