milibopp / carboxyl

Functional Reactive Programming library for Rust
Mozilla Public License 2.0
406 stars 19 forks source link

fixed a few clippy warnings #99

Closed llogiq closed 8 years ago

llogiq commented 8 years ago

Just some style improvements. I also found a few problems in clippy :smile:

Moredread commented 8 years ago

What were the issues with clippy?

llogiq commented 8 years ago

847-#849.

Moredread commented 8 years ago

Thanks :)

llogiq commented 8 years ago

Well, thank you for writing code that allowed me to find the issues :smile:

milibopp commented 8 years ago

Thanks for noticing! Never used clippy to look into these things. Overall this improves readibility.

llogiq commented 8 years ago

If you have a nightly Rust (and if not, I recommend https://rustup.rs), you can use clippy on your code with cargo rustc -- -L /path/to/clippy/target/release -Z extra-plugins=clippy (assuming you have checked out clippy in /path/to/clippy and built it with cargo build --release.