Skip to content

Commit

Permalink
remove comment for testing purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
callum-fortune committed May 2, 2024
1 parent e831d8e commit be420cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust-miller-rabin"
version = "0.1.3"
version = "0.1.4"
edition = "2018"
description = "A Rust implementation of the Miller-Rabin primality test"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion src/miller_rabin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub fn miller_rabin(candidate: &BigInt) -> bool {
}

if candidate.is_zero() || *candidate == BigInt::from(1) {
return false; // 0 and 1 are not prime
return false;
}

if candidate.to_string().len() == 1 {
Expand Down

0 comments on commit be420cb

Please sign in to comment.