rust/tests/target/space-before-bound.rs
Nathan Ridge 4b999a99c0 Add two new whitespace options (#1109)
* An option to leave a space before the colon in a type annotation

* An option to leave a space before the colon in a trait or lifetime bound
2016-08-03 01:11:39 -04:00

4 lines
86 B
Rust

// rustfmt-space_before_bound: true
trait Trait {}
fn f<'a, 'b : 'a, T : Trait>() {}