Open NangiDev opened 3 years ago
The problem is when code is prettifyed.rustfmt
crate is old and doesn't understand the new syntax. There is a new formatter rustfmt-nightly
but it needs rust nightly...
Ah nice. I will see if I can try using the nightly one and see if that fixes my problem. Thanks!
@NangiDev check #7 It should fix it.
Yes this works! Thanks! Hopefully it will be merged into crate. Now I have to build your repo manually.
When using lib-files withing same project the new syntax is
instead of
In my codingame template if trying to create a new lib and use inside math.rs with the crate_name::example it will fail when trying to bundle.