gchp / iota

A terminal-based text editor written in Rust
MIT License
1.62k stars 80 forks source link

fixed some clippy warnings #114

Closed llogiq closed 8 years ago

llogiq commented 8 years ago

Mostly this is to make the code more readable, but you may like the usage of the Entry API in src/iota/keymap.rs and the use of an iterator instead of indexing in src/iota/view.rs.

Cheers!

gchp commented 8 years ago

Thanks for submitting this! I appreciate it.

Didn't know about the entry api, so thanks for showing me that! I left a comment on the iterator part you added...

Other than that, I'd be happy to merge this!

llogiq commented 8 years ago

I backed out the iterator change.

gchp commented 8 years ago

@llogiq sweet, thank you!

llogiq commented 8 years ago

You're welcome.