From 96af966b384b1e1ef39c2b2b443448c042deb0f4 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: Tue, 13 Oct 2020 16:59:56 -0400 Subject: [PATCH] rust/treefile: Use shorthand initialization for Treefile This lit up in my editor which does linting in the background. --- rust/src/treefile.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/src/treefile.rs b/rust/src/treefile.rs index e839d6c4..57015b71 100644 --- a/rust/src/treefile.rs +++ b/rust/src/treefile.rs @@ -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()), }))