macro_rules! ray_dbg {
() => { ... };
($value:expr $(,)?) => { ... };
($($value:expr),+ $(,)?) => { ... };
}Expand description
Debug helper that sends a value to Ray and returns it.
Labels the entry with the expression string, similar to dbg!.
use ray::ray_dbg;
let value = ray_dbg!(2 + 2);
assert_eq!(value, 4);