From 5b795078145ab6e64e8d3dbea857b17d3baec5e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pepe=20M=C3=A1rquez=20Romero?= Date: Sat, 15 Jul 2023 01:48:59 +0200 Subject: [PATCH] fix fmt --- src/model/filter.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/model/filter.rs b/src/model/filter.rs index 40bf514..0c2ca61 100644 --- a/src/model/filter.rs +++ b/src/model/filter.rs @@ -261,7 +261,7 @@ pub enum Currency { } impl From for Host { - fn from(currency: Currency) -> Self { + fn from(currency: Currency) -> Self { match currency { Currency::USD => Host::Com, Currency::GBP => Host::Uk, @@ -270,8 +270,7 @@ impl From for Host { Currency::SEK => Host::Se, Currency::RON => Host::Ro, Currency::HUF => Host::Hu, - Currency::EUR => Host::random_euro_host() - + Currency::EUR => Host::random_euro_host(), } } }