1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-28 12:50:16 +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 { impl ToggleTrait for ButtonConfig {
fn to_toggle_strs() -> Vec<&'static str> { fn to_toggle_strs() -> Vec<&'static str> {
ButtonConfig::iter() ButtonConfig::iter().map(|i| i.as_str()).collect()
.map(|i| i.as_str())
.collect()
} }
fn to_toggle_vals() -> Vec<u32> { fn to_toggle_vals() -> Vec<u32> {