Macro grin_core::tee [−][src]
macro_rules! tee { ($thing:ident, $thing_expr:expr) => { ... }; }
Allows the conversion of an expression that doesn’t return anything to one that returns the provided identifier. Example: let foo = vec![1,2,3] println!(tee!(foo, foo.append(vec![3,4,5]))