Skip to content

Commit

Permalink
Remove unnecessary return statement and trailing semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
tripledoublev committed Nov 28, 2024
1 parent 8fafca6 commit fee31d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub async fn init_veilid(
}

pub fn config_for_dir(base_dir: PathBuf, namespace: String) -> VeilidConfigInner {
return VeilidConfigInner {
VeilidConfigInner {
program_name: "save-dweb-backend".to_string(),
namespace,
protected_store: veilid_core::VeilidConfigProtectedStore {
Expand All @@ -96,7 +96,7 @@ pub fn config_for_dir(base_dir: PathBuf, namespace: String) -> VeilidConfigInner
..Default::default()
},
..Default::default()
};
}
}

#[derive(Serialize, Deserialize, Clone)]
Expand Down

0 comments on commit fee31d3

Please sign in to comment.