Skip to content

Commit

Permalink
Required that Signed and Unsigned associated types implement the corr…
Browse files Browse the repository at this point in the history
…ect traits
  • Loading branch information
tyilo committed Jun 4, 2024
1 parent 6667078 commit ef8745c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/num.rs
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,10 @@ new_trait! {
, @for<'a> ShrAssign<&'a usize>
{
/// The signed integer of this bit width.
type Signed: Integral;
type Signed: Signed;

/// The unsigned integer of this bit width.
type Unsigned: Integral;
type Unsigned: Unsigned;

/// The type’s zero value.
const ZERO: Self;
Expand Down

0 comments on commit ef8745c

Please sign in to comment.