From 20a248284e08003af05ebfa1351991c7cce9c44f Mon Sep 17 00:00:00 2001 From: Alexander Koz <888526+boozook@users.noreply.github.com> Date: Tue, 11 Jun 2024 21:53:01 +0400 Subject: [PATCH] apply fmt suggestions Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- cargo/src/utils/cargo/meta_deps.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cargo/src/utils/cargo/meta_deps.rs b/cargo/src/utils/cargo/meta_deps.rs index 0275a911..167714e0 100644 --- a/cargo/src/utils/cargo/meta_deps.rs +++ b/cargo/src/utils/cargo/meta_deps.rs @@ -277,9 +277,7 @@ impl<'t> MetaDeps<'t> { pub fn roots_by_compile_target(&self) -> BTreeMap> { self.roots.iter().fold(BTreeMap::new(), |mut acc, root| { let key = TargetKey::from(root); - acc.entry(key) - .or_default() - .insert(root.node().unit().platform); + acc.entry(key).or_default().insert(root.node().unit().platform); acc }) }