Skip to content

fix mod.rs formats #570

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

Merged
merged 4 commits into from
Oct 14, 2023
Merged

fix mod.rs formats #570

merged 4 commits into from
Oct 14, 2023

Conversation

suzp1984
Copy link
Contributor

Fix mod.rs formats

Description

  • remove pub for mod sieve_of_eratosthenes in src/math/mod.rs;
  • use mod tests for UT in src/string/levenshtein_distance.rs;
  • refactor _min3 inside levenshtein_distance;

Type of change

Please delete options that are not relevant.

  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

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 checked COUNTRIBUTING.md and my code follows its guidelines.

siriak
siriak previously approved these changes Oct 14, 2023
Copy link
Member

@siriak siriak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@siriak siriak merged commit 8301aa4 into TheAlgorithms:master Oct 14, 2023
hardik-yadav1729 pushed a commit to hardik-yadav1729/Rust that referenced this pull request Oct 14, 2023
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.

2 participants