mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-28 12:50:16 +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 {
|
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> {
|
||||||
|
|
Loading…
Reference in a new issue