Fix inconsistent_struct_constructor clippy lint

This commit is contained in:
Cole Helbling 2021-05-17 13:49:53 -07:00
parent e8f0cec6db
commit 0e1ca6ea2f
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C

View file

@ -19,8 +19,8 @@ pub struct HydraNixEnv {
impl HydraNixEnv {
pub fn new(nix: nix::Nix, path: PathBuf, check_meta: bool) -> HydraNixEnv {
HydraNixEnv {
nix,
path,
nix,
check_meta,
}
}