diff options
Diffstat (limited to 'components/config/pref_util.rs')
-rw-r--r-- | components/config/pref_util.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/components/config/pref_util.rs b/components/config/pref_util.rs index ba4dd78f6e8..07b623372f8 100644 --- a/components/config/pref_util.rs +++ b/components/config/pref_util.rs @@ -113,12 +113,7 @@ macro_rules! impl_from_pref { if let $variant(value) = other { value.into() } else { - panic!( - format!("Cannot convert {:?} to {:?}", - other, - std::any::type_name::<$t>() - ) - ); + panic!("Cannot convert {:?} to {:?}", other, std::any::type_name::<$t>()) } } } |