linutil icon indicating copy to clipboard operation
linutil copied to clipboard

Refactor various components of Rust code

Open lj3954 opened this issue 5 months ago • 3 comments

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.

lj3954 avatar Sep 19 '24 02:09 lj3954