linutil
linutil copied to clipboard
Refactor various components of Rust code
Type of Change
- [x] Refactoring
Description
Refactor various functions to improve readability and remove duplicate code. Commits can be viewed individually for specific changes and some reasoning.
Testing
Functionality is identical to before; program does not crash.
Impact
No changes in functionality. Code is more maintainable.
Checklist
- [x] My code adheres to the coding and style guidelines of the project.
- [x] I have performed a self-review of my own code.
- [x] I have commented my code, particularly in hard-to-understand areas.
- [x] My changes generate no errors/warnings/merge conflicts.