Skip to content

Clippy Fixes

Michael Aaron Murphy requested to merge mmstick:clippy into master

Problem: Non-Idiomatic Rust

Solution: Fixes applied by Clippy

Changes introduced by this pull request:

  • Implement Default traits
  • Do not use .iter() for basic looping
  • Do not use if not conditionals
  • When matching a single character, match as a character instead of a string
  • Remove unnecessary return keywords
  • Move the bulk of main() into shell::execute()

Merge request reports