| 1 | # if_chain |
| 2 | |
| 3 | [](https://travis-ci.com/lambda-fairy/if_chain) [](https://crates.io/crates/if_chain) |
| 4 | |
| 5 | This crate provides a single macro called `if_chain!`. |
| 6 | |
| 7 | `if_chain!` lets you write long chains of nested `if` and `if let` statements without the associated rightward drift. It also supports multiple patterns (e.g. `if let Foo(a) | Bar(a) = b`) in places where Rust would normally not allow them. |
| 8 | |
| 9 | For more information on this crate, see the [documentation](https://docs.rs/if_chain) and associated [blog post](https://lambda.xyz/blog/if-chain). |