rust/tests/source/configs/space_before_colon/true.rs

12 lines
184 B
Rust
Raw Normal View History

2017-11-14 08:25:10 -06:00
// rustfmt-space_before_colon: true
// Space before colon
fn lorem<T : Eq>(t : T) {
let ipsum: Dolor = sit;
}
const LOREM : Lorem = Lorem {
ipsum : dolor,
sit : amet,
};