Skip to content
Permalink
Browse files

Merge pull request #262 from antiguru/rust_128

Support u/i128 types
  • Loading branch information...
frankmcsherry committed Jul 11, 2019
2 parents 06fac10 + 30367de commit a1a3702a5229fcfaf5bc8440a0808791ab43df35
Showing with 4 additions and 4 deletions.
  1. +2 −2 timely/src/order.rs
  2. +2 −2 timely/src/progress/timestamp.rs
@@ -44,8 +44,8 @@ macro_rules! implement_total {
)
}

implement_partial!(u8, u16, u32, u64, usize, i8, i16, i32, i64, isize, (), ::std::time::Duration,);
implement_total!(u8, u16, u32, u64, usize, i8, i16, i32, i64, isize, (), ::std::time::Duration,);
implement_partial!(u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize, (), ::std::time::Duration,);
implement_total!(u8, u16, u32, u64, u128, usize, i8, i16, i32, i64, i128, isize, (), ::std::time::Duration,);


use std::fmt::{Formatter, Error, Debug};
@@ -80,7 +80,7 @@ macro_rules! implement_timestamp_add {
)
}

implement_timestamp_add!(usize, u64, u32, u16, u8, i32, ::std::time::Duration,);
implement_timestamp_add!(usize, u128, u64, u32, u16, u8, isize, i128, i64, i32, i16, i8, ::std::time::Duration,);

pub use self::refines::Refines;
mod refines {
@@ -131,5 +131,5 @@ mod refines {
)
}

implement_refines_empty!(usize, u64, u32, u16, u8, i32, ::std::time::Duration,);
implement_refines_empty!(usize, u128, u64, u32, u16, u8, isize, i128, i64, i32, i16, i8, ::std::time::Duration,);
}

0 comments on commit a1a3702

Please sign in to comment.
You can’t perform that action at this time.