Skip to content

Commit

Permalink
Derived Copy trait on Delay
Browse files Browse the repository at this point in the history
  • Loading branch information
jstuczyn committed Nov 9, 2022
1 parent 76f49f1 commit 854a821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/header/delays.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use std::{borrow::Borrow, time::Duration};

// TODO: once we get to proper refactoring, I think this should just be
// a type alias to probably time::Duration
#[derive(Debug, Clone, PartialEq, Eq)]
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct Delay(u64);

impl Delay {
Expand Down

0 comments on commit 854a821

Please sign in to comment.