Chaining
Adds chaining methods tap
and pipe
to every type. Inspired by Scala's ChainingOps.
Getting Started
Add chaining
to your dependencies in your Cargo.toml file:
[]
...
= "x.y.z"
...
Examples
use *;
let times6 = ;
let i = .pipe.pipe;
assert_eq!;
let xs = &.tap;
assert_eq!;