mirror of
https://github.com/Steffo99/patched-porobot.git
synced 2024-12-22 17:44:22 +00:00
Apply clippy::single_char_pattern
suggestion
This commit is contained in:
parent
4877c8bf8c
commit
390fe583db
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue