Open
Description
For example:
pub fn f(x: usize) {
if x == 1 {
} else if x == 2 {
} else if x == 3 {
} else if x == 4 {
} else {
}
}
is formatted as follows (this is complete output):
$ rustc --crate-type=lib a.rs -Zunpretty=hir
#[prelude_import]
use ::std::prelude::rust_2015::*;
#[macro_use]
extern crate std;
pub fn f(x:
usize) {
if x == 1
{
} else if x == 2
{
}