index : nmrs-tui
A fast, Vim-friendly NetworkManager TUI built in Rust.
about summary refs log tree commit diff

Diffstat (limited to 'src/config.rs')

-rw-r--r-- src/config.rs 7
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/config.rs b/src/config.rs
index 2aa59f9..3daec83 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -10,13 +10,12 @@

#[derive(Deserialize, Serialize)]
#[serde(default)]
pub struct Config {
    pub int: u16,
}
pub struct Config {}

#[allow(clippy::derivable_impls)]
impl Default for Config {
    fn default() -> Self {
        Self { int: 1 }
        Self {}
    }
}