Skip to content

v0.1.92

Choose a tag to compare

@github-actions github-actions released this 22 Oct 19:20
26b9c3a

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 bshifaw@broadinstitute.com