diff --git a/src/discord/main.rs b/src/discord/main.rs index c323bd8..e140bba 100644 --- a/src/discord/main.rs +++ b/src/discord/main.rs @@ -22,7 +22,7 @@ pub async fn main() { let known_set_codes: String = env::var("DATA_DRAGON_SET_CODES") .expect("DATA_DRAGON_SET_CODES to be set"); let known_set_codes: Vec<&str> = known_set_codes - .rsplit(",") + .rsplit(',') .collect(); debug!("Detected set codes: {:?}", &known_set_codes); diff --git a/src/telegram/main.rs b/src/telegram/main.rs index 47f9626..5ee565b 100644 --- a/src/telegram/main.rs +++ b/src/telegram/main.rs @@ -23,7 +23,7 @@ pub async fn main() { let known_set_codes: String = env::var("DATA_DRAGON_SET_CODES") .expect("DATA_DRAGON_SET_CODES to be set"); let known_set_codes: Vec<&str> = known_set_codes - .rsplit(",") + .rsplit(',') .collect(); debug!("Detected set codes: {:?}", &known_set_codes);