v0.1.92
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_ownedmethod call ingraph.insertto 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_stringon&&std::string::String - Fix: cast_possible_truncation. error: casting
usizetou8may truncate the value - Fix: cast_possible_truncation. Example error: casting
usizetou8may 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
Resultmissing# Errorssection" (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 bshifaw@broadinstitute.com