nebgnahz / cv-rs

Rust wrapper for OpenCV (manual at this point)
https://nebgnahz.github.io/cv-rs/cv/
MIT License
204 stars 41 forks source link

Fmt fix #88

Closed Pzixel closed 6 years ago

Pzixel commented 6 years ago

This request fixes fmt issue of the repo.

The problem currently is that windows and linux fmt s differs a lot on stable channel. E.g. latest windows fmt is 0.6, when latest linux fmt is 0.4. It's quite confusing because you can have no diff on 0.4 but lots of changes on 0.6 and vice versa. Example of that is #87.

This PR changes fmt to the nightly, which is same on both platforms with latest version 0.8.

fmt documentation says:

For the latest and greatest rustfmt (nightly required):

rustup component add rustfmt-preview --toolchain nightly

They look pretty confident about its stability so I think it's much better alternative.