Skip to content

Commit

Permalink
Implement Default for MakeRequestUuid (tower-rs#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored and gezihuzi committed Jul 19, 2023
1 parent cc8d049 commit 249f554
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tower-http/src/request_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ where
}

/// A [`MakeRequestId`] that generates `UUID`s.
#[derive(Clone, Copy)]
#[derive(Clone, Copy, Default)]
pub struct MakeRequestUuid;

impl MakeRequestId for MakeRequestUuid {
Expand Down

0 comments on commit 249f554

Please sign in to comment.