File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ pub fn register_plugins(reg: &mut rustc_plugin::Registry<'_>) {
266
266
reg. register_late_lint_pass ( box serde_api:: Serde ) ;
267
267
reg. register_early_lint_pass ( box utils:: internal_lints:: Clippy ) ;
268
268
reg. register_late_lint_pass ( box utils:: internal_lints:: LintWithoutLintPass :: default ( ) ) ;
269
- reg. register_early_lint_pass ( box utils:: internal_lints:: DefaultHashTypes :: new ( ) ) ;
269
+ reg. register_early_lint_pass ( box utils:: internal_lints:: DefaultHashTypes :: default ( ) ) ;
270
270
reg. register_late_lint_pass ( box utils:: inspector:: Pass ) ;
271
271
reg. register_late_lint_pass ( box utils:: author:: Pass ) ;
272
272
reg. register_late_lint_pass ( box types:: TypePass ) ;
Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ pub struct DefaultHashTypes {
228
228
}
229
229
230
230
impl DefaultHashTypes {
231
- pub fn new ( ) -> Self {
231
+ pub fn default ( ) -> Self {
232
232
let mut map = FxHashMap :: default ( ) ;
233
233
map. insert ( "HashMap" . to_owned ( ) , "FxHashMap" . to_owned ( ) ) ;
234
234
map. insert ( "HashSet" . to_owned ( ) , "FxHashSet" . to_owned ( ) ) ;
You can’t perform that action at this time.
0 commit comments