rust/treefile: Use shorthand initialization for Treefile

This lit up in my editor which does linting in the background.
This commit is contained in:
Jonathan Lebon 2020-10-13 16:59:56 -04:00 committed by OpenShift Merge Robot
parent 230a0ea810
commit 96af966b38

View File

@ -444,9 +444,9 @@ impl Treefile {
primary_dfd: dfd,
parsed: parsed.config,
_workdir: workdir,
rojig_name: rojig_name,
rojig_spec: rojig_spec,
serialized: serialized,
rojig_name,
rojig_spec,
serialized,
externals: parsed.externals,
checksum: CUtf8Buf::from_string(hasher.get_string().unwrap()),
}))