Skip to content

Commit

Permalink
unwrapper: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Oct 25, 2023
1 parent fa5c2d4 commit fd98a20
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/unwrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ where
pub fn wraps<P, const S: u32>(&self) -> P
where
Q: AsPrimitive<P> + Shr<u32, Output = Q>,
bool: AsPrimitive<P>,
P: 'static + Copy + WrappingAdd + Signed + BitAnd<i32, Output = P>,
P: 'static + Copy + WrappingAdd + Signed + BitAnd<u32, Output = P>,
{
(self.y >> S)
.as_()
Expand Down

0 comments on commit fd98a20

Please sign in to comment.