dogamak / xcbars

Bar library created with rust and xcb.
Apache License 2.0
1 stars 1 forks source link

Run rustfmt on every Rust file #12

Closed chrisduerr closed 7 years ago

chrisduerr commented 7 years ago

See dogamak/xcbars#11.

Every file has been automatically formatted by rustfmt to make sure that code style is consistent. A few manual interventions have been made in code that exceeded maximum line length but couldn't be formatted by rustfmt due to macros.

I have tested the functionality of this commit by simply running the example (with the orphan issue commented out). So basic functionality still works.

dogamak commented 7 years ago

So rustfmt didn't work at all on files that contain macros? That seems like a major issue..

Seems to compile without problems, despite Travis shouting at you, so I'll me merging this. Thanks.

chrisduerr commented 7 years ago

No I believe macros are completely ignore unfortunately. At least it seems like it.