diff options
author | Matthias Beyer <matthias.beyer@ifm.com> | 2022-07-22 08:23:40 +0200 |
---|---|---|
committer | Matthias Beyer <matthias.beyer@ifm.com> | 2022-08-18 14:46:54 +0200 |
commit | a09d3389533620a65cdaf33ed0b54865e9306d9c (patch) | |
tree | c9ccd6e339d93e1eed311f29fcbe5e00d5f81d01 /crates/core/tedge_agent/src/restart_operation_handler.rs | |
parent | 2d293a6ff0dedce3f7c663566fe018dd5c52433b (diff) |
Fix clippy in tedge_agent: Remove let-unit-value
This patch fixes `clippy::let_unit_value`.
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
Diffstat (limited to 'crates/core/tedge_agent/src/restart_operation_handler.rs')
-rw-r--r-- | crates/core/tedge_agent/src/restart_operation_handler.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/tedge_agent/src/restart_operation_handler.rs b/crates/core/tedge_agent/src/restart_operation_handler.rs index 29342cb0..e6db967f 100644 --- a/crates/core/tedge_agent/src/restart_operation_handler.rs +++ b/crates/core/tedge_agent/src/restart_operation_handler.rs @@ -12,7 +12,7 @@ pub mod restart_operation { /// /// # Example /// ``` - /// let () = RestartOperationHelper::create_slash_run_file()?; + /// RestartOperationHelper::create_slash_run_file()?; /// ``` pub fn create_slash_run_file(run_dir: &Path) -> Result<(), AgentError> { let path = &run_dir.join(SLASH_RUN_PATH_TEDGE_AGENT_RESTART); |