use pipe_op::pipe; fn add(a: usize, b: usize) -> Result { Ok(a + b) } fn main() { let e = 10; assert_eq!(pipe!(e, add(10).unwrap()), 20); }