summaryrefslogtreecommitdiffstats
path: root/crates/core/tedge_agent/src/restart_operation_handler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/core/tedge_agent/src/restart_operation_handler.rs')
-rw-r--r--crates/core/tedge_agent/src/restart_operation_handler.rs2
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);