diff options
Diffstat (limited to 'crates/common/tedge_config/src/tedge_config_repository.rs')
-rw-r--r-- | crates/common/tedge_config/src/tedge_config_repository.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/common/tedge_config/src/tedge_config_repository.rs b/crates/common/tedge_config/src/tedge_config_repository.rs index 5c818c7b..894116d8 100644 --- a/crates/common/tedge_config/src/tedge_config_repository.rs +++ b/crates/common/tedge_config/src/tedge_config_repository.rs @@ -32,10 +32,10 @@ impl ConfigRepository<TEdgeConfig> for TEdgeConfigRepository { // Create `$HOME/.tedge` or `/etc/tedge` directory in case it does not exist yet if !self.config_location.tedge_config_root_path.exists() { - let () = fs::create_dir(self.config_location.tedge_config_root_path())?; + fs::create_dir(self.config_location.tedge_config_root_path())?; } - let () = atomically_write_file_sync( + atomically_write_file_sync( self.config_location.temporary_tedge_config_file_path(), self.config_location.tedge_config_file_path(), toml.as_bytes(), |