Fix fallout in libs. For the most part I just tagged impls as #[old_impl_check].
This commit is contained in:
parent
6539cb417f
commit
3ed7f067dc
11 changed files with 39 additions and 3 deletions
|
|
@ -982,8 +982,8 @@ pub enum Sign {
|
|||
Plus
|
||||
}
|
||||
|
||||
impl<T> Sign where T: Int {
|
||||
pub fn new(n: T) -> Sign {
|
||||
impl Sign {
|
||||
pub fn new<T:Int>(n: T) -> Sign {
|
||||
if n < Int::zero() {
|
||||
Minus
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue