Closed Flakebi closed 4 years ago
I think the rust style usually is to put the colon to the variable name instead of the type.
Yeah that's the Rust style. This project was written in my own style which uses hard tabs, colons next to the type instead of the variable name and sometimes different indentation strategies.
Ok, I like tabs too :)
What do you think about the Cargo.toml change? rnnoise-sys = { path = "sys", version = "0.1.1" }
You can specify a dependency using both, a version and a path. It will pick up the local path when using the git version and the crates.io package will use the version number to get the dependency.
I think the rust style usually is to put the colon to the variable name instead of the type.