fix clippy::unit_arg: make it explicit that Ok(()) is being returned
This commit is contained in:
parent
f3ec5be849
commit
a1c22122da
@ -74,9 +74,9 @@ impl DocFS {
|
||||
})
|
||||
});
|
||||
});
|
||||
Ok(())
|
||||
} else {
|
||||
Ok(try_err!(fs::write(&path, contents), path))
|
||||
try_err!(fs::write(&path, contents), path);
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user