Guest User

Untitled

a guest
Jul 20th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. macro_rules! assert_eq_core { ($a:expr, $b:expr) => (if cfg!(feature == "std") {
  2. assert_eq!(a, b)
  3. } else {
  4. assert!($a == $b, stringify!($a == $b))
  5. }) }
  6.  
  7. fn main() {
  8. assert_eq_core!(1, 1);
  9. }
Add Comment
Please, Sign In to add comment