Skip to content

Conversation

@reddevilmidzy
Copy link
Contributor

Pull Request Template

Description

Consolidated multiple use statements into a single line using curly braces ({}). The functionality remains the same, but the code is now more concise and readable.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • I ran bellow commands using the latest version of rust nightly.
  • I ran cargo clippy --all -- -D warnings just before my last commit and fixed any issue that was found.
  • I ran cargo fmt just before my last commit.
  • I ran cargo test just before my last commit and all tests passed.
  • I added my algorithm to the corresponding mod.rs file within its own folder, and in any parent folder(s).
  • I added my algorithm to DIRECTORY.md with the correct link.
  • I checked COUNTRIBUTING.md and my code follows its guidelines.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.47%. Comparing base (8467b52) to head (34788e5).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #851   +/-   ##
=======================================
  Coverage   95.47%   95.47%           
=======================================
  Files         316      316           
  Lines       22934    22934           
=======================================
  Hits        21897    21897           
  Misses       1037     1037           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@vil02 vil02 changed the title Refactor Lazy Segment Tree Consolidate use statements for std::ops in lazy_segment_tree.rs Dec 31, 2024
@vil02 vil02 merged commit 4e25e99 into TheAlgorithms:master Dec 31, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants