Fix misc compile warnings (#11258)
This commit is contained in:
@@ -41,7 +41,7 @@ fn check_hex(string: &str) -> Result<()> {
|
||||
}
|
||||
/// given a type and HashMap<String, Vec<FieldType>>
|
||||
/// returns a HashSet of dependent types of the given type
|
||||
fn build_dependencies<'a>(message_type: &'a str, message_types: &'a MessageTypes) -> Option<(HashSet<&'a str>)>
|
||||
fn build_dependencies<'a>(message_type: &'a str, message_types: &'a MessageTypes) -> Option<HashSet<&'a str>>
|
||||
{
|
||||
if message_types.get(message_type).is_none() {
|
||||
return None;
|
||||
|
||||
Reference in New Issue
Block a user