Skip to content

Commit

Permalink
Remove unneeded trait bounds on T
Browse files Browse the repository at this point in the history
  • Loading branch information
1Git2Clone committed Dec 8, 2024
1 parent 216ab43 commit 807ea69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/input.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use std::{fmt::Debug, io::Write, str::FromStr};

use crate::utils::{gcd::Gcd, lcm::Lcm, Error};
use crate::utils::Error;

pub fn get_numeric_input<T>() -> Result<T, Error>
where
T: FromStr + Debug + Gcd + Lcm,
T: FromStr,
<T as FromStr>::Err: Debug,
{
let mut tmp = String::new();
Expand Down

0 comments on commit 807ea69

Please sign in to comment.