clippy fix

This commit is contained in:
Ritesh Chitlangi 2021-11-10 03:43:48 +08:00
parent 6361523d9b
commit 59fcbdc701
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ impl fmt::Display for ContactExtension {
if let Some(ext_contact) = self.ext_contact {
ext_str = {
match ext_contact {
true => format!("extContact=Y"),
false => format!("extContact=N"),
true => "extContact=Y".to_string(),
false => "extContact=N".to_string(),
}
}
}