fix clippy::unit_arg: make it explicit that Ok(()) is being returned

This commit is contained in:
Matthias Krüger 2020-08-01 17:57:51 +02:00
parent f3ec5be849
commit a1c22122da

View File

@ -74,9 +74,9 @@ impl DocFS {
})
});
});
Ok(())
} else {
Ok(try_err!(fs::write(&path, contents), path))
try_err!(fs::write(&path, contents), path);
}
Ok(())
}
}