1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-03-23 14:56:11 +00:00

Consts formatting

This commit is contained in:
jugeeya 2023-08-08 10:42:37 -07:00 committed by GitHub
parent 7a7e7bdc52
commit f999b4669c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1491,9 +1491,7 @@ impl ButtonConfig {
impl ToggleTrait for ButtonConfig {
fn to_toggle_strs() -> Vec<&'static str> {
ButtonConfig::iter()
.map(|i| i.as_str())
.collect()
ButtonConfig::iter().map(|i| i.as_str()).collect()
}
fn to_toggle_vals() -> Vec<u32> {