mirror of
https://github.com/n08i40k/schedule-parser-rusted.git
synced 2025-12-06 17:57:47 +03:00
chore(clippy): fix all clippy warnings
This commit is contained in:
@@ -33,7 +33,7 @@ impl WebAppInitDataMap {
|
||||
};
|
||||
|
||||
data.split('&')
|
||||
.map(|kv| kv.split_once('=').unwrap_or_else(|| (kv, "")))
|
||||
.map(|kv| kv.split_once('=').unwrap_or((kv, "")))
|
||||
.for_each(|(key, value)| {
|
||||
this.data_map.insert(key.to_string(), value.to_string());
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user