Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.

Commit 9a121fb

Browse files
committed
Fix clippy error clippy::default_constructed_unit_structs
This error was introduced in Rust 1.71.0 Signed-off-by: Andrea Gunderson <[email protected]>
1 parent a557828 commit 9a121fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tp/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ fn main() {
6565
if matches.is_present("admin_allow_all") {
6666
warn!("Starting Sabre transaction processor without admin key verifcation");
6767
SabreHandler::new(SabreTransactionHandler::new(Box::new(
68-
admin::AllowAllAdminPermission::default(),
68+
admin::AllowAllAdminPermission,
6969
)))
7070
} else {
7171
SabreHandler::new(SabreTransactionHandler::new(Box::new(
72-
admin::SettingsAdminPermission::default(),
72+
admin::SettingsAdminPermission,
7373
)))
7474
}
7575
};

0 commit comments

Comments
 (0)