Skip to content

Commit

Permalink
Do not shadow variable in format string
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Nov 28, 2023
1 parent a9b8c38 commit ca19948
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mullvad-daemon/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,7 @@ impl AccessModeSelector {
.unwrap_or(AccessMethod::from(BuiltInAccessMethod::Direct));

let connection_mode = self.from(access_method);
log::info!(
"New API connection mode selected: {connection_mode}",
connection_mode = connection_mode
);
log::info!("New API connection mode selected: {connection_mode}");
connection_mode
}

Expand Down

0 comments on commit ca19948

Please sign in to comment.