# Chaining
[](https://crates.io/crates/chaining)
[](https://docs.rs/chaining)
Adds chaining methods `tap` and `pipe` to every type. Inspired by Scala's [ChainingOps](https://www.scala-lang.org/api/current/scala/util/ChainingOps.html).
## Getting Started
Add `chaining` to your dependencies in your Cargo.toml file:
```toml
[dependencies]
...
chaining = "x.y.z"
...
```
## Examples
```rust
use chaining::*;
assert_eq!(24, i);
```