-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix minor lint warnings and improve code quality (#25)
* optimize imports and remove unused imports * unused variables commented out or underscore applied * comment unused functions * snake based name for anchorseq * clippy: add #[must_use] to functions * Fix: Disambiguate `to_owned` method call in `graph.insert` to resolve multiple applicable items error * Fix: Correct function signatures to resolve Clippy lints errors * Fix: Change argument to be passed by reference instead of by value * Fix: error: boolean to int conversion using if. for in_degree and out_degreee functions * Fix: inefficient_to_string. error: calling `to_string` on `&&std::string::String` * Fix: cast_possible_truncation. error: casting `usize` to `u8` may truncate the value * Fix: cast_possible_truncation. Example error: casting `usize` to `u8` may truncate the value * added function doc for function which may panic (cargo lint) * Fix items in documentation is missing backticks (cargo lint) * Fix "method/function could have a `#[must_use]` attribute" (cargo lint) * Fix "Variables can be used directly in the format" (cargo lint) * Fix "error: needless use of `for_each`" (cargo lint) * Fix "avoid wildcard imports" (cargo lint) * Fix "avoid implicitly cloning" (cargo lint) * Fix "docs for function returning `Result` missing `# Errors` section" (cargo lint) * Fix "test function passing of variable type" (cargo lint) * Fix:removed enumerate where needed, unused imports, unused variables (cargo lint) --------- Co-authored-by: bshifaw <[email protected]>
- Loading branch information
Showing
27 changed files
with
1,008 additions
and
325 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.