Skip to content

Commit e33a17e

Browse files
committed
Changed Box
1 parent 7fbf808 commit e33a17e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,7 @@ pub fn register_plugins(store: &mut rustc_lint::LintStore, sess: &Session, conf:
10961096
});
10971097
store.register_late_pass(|_| Box::new(redundant_locals::RedundantLocals));
10981098
store.register_late_pass(|_| Box::new(ignored_unit_patterns::IgnoredUnitPatterns));
1099-
store.register_late_pass(|_| Box::new(reserve_after_initialization::ReserveAfterInitialization::default()));
1099+
store.register_late_pass(|_| Box::<reserve_after_initialization::ReserveAfterInitialization>::default());
11001100
// add lints here, do not remove this comment, it's used in `new_lint`
11011101
}
11021102

0 commit comments

Comments
 (0)