Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed Jan 3, 2024
1 parent 20b7939 commit 5eb76e7
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions rust/operator-binary/src/authentication/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5eb76e7

Please sign in to comment.