cantino / mcfly

Fly through your shell history. Great Scott!
MIT License
6.85k stars 178 forks source link

Run clippy-fix and rustfmt #168

Closed praveenperera closed 3 years ago

praveenperera commented 3 years ago

Ran rustfmt and fixed most clippy warnings. Theres two left:

error: name `BOL` contains a capitalized acronym
  --> src/command_input.rs:14:5
   |
14 |     BOL,
   |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Bol`
   |
   = note: `-D clippy::upper-case-acronyms` implied by `-D warnings`
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms

error: name `EOL` contains a capitalized acronym
  --> src/command_input.rs:15:5
   |
15 |     EOL,
   |     ^^^ help: consider making the acronym lowercase, except the initial letter: `Eol`

I can either turn that check off or fix it. Up to you @cantino

cantino commented 3 years ago

Thanks! I'd be fine with them as Bol and Eol if you like that.