rust/treefile: Use shorthand initialization for Treefile
This lit up in my editor which does linting in the background.
This commit is contained in:
parent
230a0ea810
commit
96af966b38
@ -444,9 +444,9 @@ impl Treefile {
|
|||||||
primary_dfd: dfd,
|
primary_dfd: dfd,
|
||||||
parsed: parsed.config,
|
parsed: parsed.config,
|
||||||
_workdir: workdir,
|
_workdir: workdir,
|
||||||
rojig_name: rojig_name,
|
rojig_name,
|
||||||
rojig_spec: rojig_spec,
|
rojig_spec,
|
||||||
serialized: serialized,
|
serialized,
|
||||||
externals: parsed.externals,
|
externals: parsed.externals,
|
||||||
checksum: CUtf8Buf::from_string(hasher.get_string().unwrap()),
|
checksum: CUtf8Buf::from_string(hasher.get_string().unwrap()),
|
||||||
}))
|
}))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user