Avoid new_without_default_derive in DefaultHashTypes

This commit is contained in:
Dale Wijnand 2018-08-14 09:25:09 +01:00
parent 1812707d39
commit 22ff5a3ef1
No known key found for this signature in database
GPG key ID: 4F256E3D151DF5EF
2 changed files with 2 additions and 2 deletions

View file

@ -228,7 +228,7 @@ pub struct DefaultHashTypes {
}
impl DefaultHashTypes {
pub fn new() -> Self {
pub fn default() -> Self {
let mut map = FxHashMap::default();
map.insert("HashMap".to_owned(), "FxHashMap".to_owned());
map.insert("HashSet".to_owned(), "FxHashSet".to_owned());