Fix inconsistent_struct_constructor clippy lint
This commit is contained in:
parent
e8f0cec6db
commit
0e1ca6ea2f
|
@ -19,8 +19,8 @@ pub struct HydraNixEnv {
|
||||||
impl HydraNixEnv {
|
impl HydraNixEnv {
|
||||||
pub fn new(nix: nix::Nix, path: PathBuf, check_meta: bool) -> HydraNixEnv {
|
pub fn new(nix: nix::Nix, path: PathBuf, check_meta: bool) -> HydraNixEnv {
|
||||||
HydraNixEnv {
|
HydraNixEnv {
|
||||||
nix,
|
|
||||||
path,
|
path,
|
||||||
|
nix,
|
||||||
check_meta,
|
check_meta,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue