Skip to content

Commit

Permalink
Merge pull request #67 from qryxip/make-mod-int-base-inherit-from-isi…
Browse files Browse the repository at this point in the history
…ze-usize

Make `ModIntBase` inherit `From<{isize, usize}>`
  • Loading branch information
matsu7874 authored Oct 2, 2020
2 parents 533965b + cf303d6 commit 61212ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,13 @@ pub trait ModIntBase:
+ From<i32>
+ From<i64>
+ From<i128>
+ From<isize>
+ From<u8>
+ From<u16>
+ From<u32>
+ From<u64>
+ From<u128>
+ From<usize>
+ Copy
+ Eq
+ Hash
Expand Down

0 comments on commit 61212ca

Please sign in to comment.