diff --git a/frb_codegen/src/library/utils/dart_repository/dart_repo.rs b/frb_codegen/src/library/utils/dart_repository/dart_repo.rs index 2376ccd566..1738fdc7c4 100644 --- a/frb_codegen/src/library/utils/dart_repository/dart_repo.rs +++ b/frb_codegen/src/library/utils/dart_repository/dart_repo.rs @@ -7,6 +7,7 @@ use serde::de::DeserializeOwned; use std::collections::HashMap; use std::convert::TryFrom; use std::fmt::Display; +use std::hash::Hash; use std::path::{Path, PathBuf}; /// represents a dart / flutter repository @@ -232,7 +233,7 @@ fn read_file_and_parse_yaml(at: &Path, filename: &str) -> a Ok(file) } -fn option_hash_map_contains(map: &Option>, key: &K) -> bool { +fn option_hash_map_contains(map: &Option>, key: &K) -> bool { if let Some(map) = map.as_ref() { map.contains_key(key) } else {