![Crates.io](https://img.shields.io/crates/v/deindentor) ![Crates.io](https://img.shields.io/crates/d/deindentor) ![Rust](https://github.com/yaxley-peaks/deindentor/actions/workflows/rust.yml/badge.svg) # Reverses the indentation on your file ## Usage 1. Install with cargo. ```console cargo install deindentor ``` 2. Use it. ```console deindentor ``` ## Example #### Before: ```rust fn foo(){ if true { println!("true"); } else { println!("false"); } } ``` #### After: ```rust fn foo(){ if true { println!("true"); } else { println!("false"); } } ```