Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
kariy committed May 28, 2024
1 parent a25e0ae commit 7769e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/credential.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl Credentials {
pub fn write(&self) -> io::Result<()> {
// create the dir paths if it doesn't yet exist
let path = get_file_path();
fs::create_dir_all(&path.parent().expect("qed; parent exist"))?;
fs::create_dir_all(path.parent().expect("qed; parent exist"))?;

let content = serde_json::to_string_pretty(&self)?;
fs::write(path, content)?;
Expand Down

0 comments on commit 7769e67

Please sign in to comment.