From 31f32a58ec15c9d9cf098aa82bd2f8b862538830 Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Thu, 11 Jul 2024 23:59:47 -0500 Subject: [PATCH] Why would you suggest using :: if you want me to use . ??? --- rust/src/p0003.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/p0003.rs b/rust/src/p0003.rs index 29e5ba5b..f459dcd5 100644 --- a/rust/src/p0003.rs +++ b/rust/src/p0003.rs @@ -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"); }