Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improving Code Idiomacy #268

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Commits on Nov 30, 2023

  1. global refactorings

    - use mod.rs instead of empty named module file
    - replace emtpy new constructor with defaulf implementations
    - sorting derives
    - replaced ElementClass::from_string method with From trait impl
    - rename `Buffer::to_string` to `try_to_string` to indicate possible failure
    - default impl for `TotalTestResutls`
    - make function arguments more readable/flexible
    - better usage of iterators and options, as well as minor improvements
    - remove iter calls in for loops
    - asserts, matches and if let bindings
    - must use attributes
    - strings and closures
    - debug and default impls
    - borrows in arguments
    - filter iterators
    - make use of `Self` keyword in impl blocks
    koopa1338 committed Nov 30, 2023
    Configuration menu
    Copy the full SHA
    def9332 View commit details
    Browse the repository at this point in the history