mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-07-14 00:52:54 +02:00
style(bar-keyboard): run cargo +nightly fmt
This commit is contained in:
@@ -35,7 +35,9 @@ pub struct KeyboardConfig {
|
|||||||
|
|
||||||
impl From<KeyboardConfig> for Keyboard {
|
impl From<KeyboardConfig> for Keyboard {
|
||||||
fn from(value: KeyboardConfig) -> Self {
|
fn from(value: KeyboardConfig) -> Self {
|
||||||
let data_refresh_interval = value.data_refresh_interval.unwrap_or(DEFAULT_DATA_REFRESH_INTERVAL);
|
let data_refresh_interval = value
|
||||||
|
.data_refresh_interval
|
||||||
|
.unwrap_or(DEFAULT_DATA_REFRESH_INTERVAL);
|
||||||
Self {
|
Self {
|
||||||
enable: value.enable,
|
enable: value.enable,
|
||||||
data_refresh_interval,
|
data_refresh_interval,
|
||||||
|
|||||||
Reference in New Issue
Block a user