rustgd / cgmath

A linear algebra and mathematics library for computer graphics.
https://docs.rs/cgmath
Apache License 2.0
1.13k stars 155 forks source link

Run Rustfmt on project #415

Open brendanzab opened 7 years ago

brendanzab commented 7 years ago

cgmath is a very old library, and has not yet had the rustfmt treatment! Most Rustaceans have it on by default in their editors, and we should make sure we can make contributing easy by running it on all our files. Unfortunately that messes up lots of formatting, especially in the matrix module.

alexandre-janniaux commented 4 years ago

Hi, maybe the current parts that are not formatted can be tagged with #[rustfmt::skip] so that new code is formatted and old code is progressively formatted ? Would it be a good compromise ?

kvark commented 4 years ago

@alexandre-janniaux you'd need to do fair judgement on what parts are messed up, and what parts are acceptably modified. You can make a PR and we can continue discussion there?

alexandre-janniaux commented 4 years ago

Hi, I can give it a try, sure, can you assign me ?