Skip to content

Commit

Permalink
refactor: ResultAction::Error requires only Debug (#4)
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun authored Dec 11, 2024
1 parent 049c784 commit 3a41e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastimer/src/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use crate::Spawn;

/// Repeatable scheduled action that returns a result.
pub trait ResultAction: Send + 'static {
type Error: std::error::Error;
type Error: std::fmt::Debug;

/// The name of the action.
fn name(&self) -> &str;
Expand Down

0 comments on commit 3a41e43

Please sign in to comment.