From 5eb76e7e941d1024637267c2bb94a7cbad3a75e7 Mon Sep 17 00:00:00 2001 From: Sebastian Bernauer Date: Wed, 3 Jan 2024 08:18:00 +0100 Subject: [PATCH] cargo fmt --- rust/operator-binary/src/authentication/mod.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/rust/operator-binary/src/authentication/mod.rs b/rust/operator-binary/src/authentication/mod.rs index 1cd33c48..b8c013d4 100644 --- a/rust/operator-binary/src/authentication/mod.rs +++ b/rust/operator-binary/src/authentication/mod.rs @@ -358,17 +358,11 @@ impl TrinoAuthenticationConfig { /// This is a helper to easily extend/merge this struct fn extend(&mut self, other: Self) { for (role, data) in other.config_properties { - self.config_properties - .entry(role) - .or_default() - .extend(data) + self.config_properties.entry(role).or_default().extend(data) } for (role, data) in other.config_files { - self.config_files - .entry(role) - .or_default() - .extend(data) + self.config_files.entry(role).or_default().extend(data) } for (role, containers) in other.env_vars {