Skip to content

Commit

Permalink
run lint
Browse files Browse the repository at this point in the history
  • Loading branch information
QEDK committed Sep 11, 2022
1 parent aca329b commit 1098ef7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ini.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ use async_std::{fs as async_fs, path::Path as AsyncPath};

use std::collections::HashMap;
use std::convert::AsRef;
use std::fmt::Write;
use std::fs;
use std::path::Path;
use std::fmt::Write;

///The `Ini` struct simply contains a nested hashmap of the loaded configuration, the default section header and comment symbols.
///## Example
Expand Down Expand Up @@ -164,7 +164,10 @@ impl Ini {
///```
///Returns the struct and stores it in the calling variable.
pub fn new_cs() -> Ini {
Ini::new_from_defaults(IniDefault { case_sensitive: true, ..Default::default() })
Ini::new_from_defaults(IniDefault {
case_sensitive: true,
..Default::default()
})
}

///Creates a new `Ini` with the given defaults from an existing `IniDefault` object.
Expand Down

0 comments on commit 1098ef7

Please sign in to comment.