mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-03-23 14:56:11 +00:00
Consts formatting
This commit is contained in:
parent
7a7e7bdc52
commit
f999b4669c
1 changed files with 18 additions and 20 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Reference in a new issue