mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-27 20:29:39 +02:00
style(dynamic): reformat struct initialization for improved readability and consistency
This commit is contained in:
parent
8ee6e3af7c
commit
ec76c9e08f
1 changed files with 1 additions and 4 deletions
|
|
@ -214,10 +214,7 @@ impl TargetDirLock {
|
||||||
Err(_) => {
|
Err(_) => {
|
||||||
// Cannot create the lockfile (perms / race on dir) — proceed
|
// Cannot create the lockfile (perms / race on dir) — proceed
|
||||||
// unlocked rather than fail the build outright.
|
// unlocked rather than fail the build outright.
|
||||||
return Self {
|
return Self { path, owned: false };
|
||||||
path,
|
|
||||||
owned: false,
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue