Skip to content

Commit

Permalink
Why would you suggest using :: if you want me to use . ???
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Jul 12, 2024
1 parent 0aa2e1b commit 31f32a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/src/p0003.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ What is the largest prime factor of the number 600851475143 ?
use crate::primes::prime_factors;

pub fn p0003() -> u64 {
return prime_factors(600851475143).max()::expect("This number has prime factors");
return prime_factors(600851475143).max().expect("This number has prime factors");
}

0 comments on commit 31f32a5

Please sign in to comment.