Skip to content

Commit 807ea69

Browse files
committed
Remove unneeded trait bounds on T
1 parent 216ab43 commit 807ea69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils/input.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
use std::{fmt::Debug, io::Write, str::FromStr};
22

3-
use crate::utils::{gcd::Gcd, lcm::Lcm, Error};
3+
use crate::utils::Error;
44

55
pub fn get_numeric_input<T>() -> Result<T, Error>
66
where
7-
T: FromStr + Debug + Gcd + Lcm,
7+
T: FromStr,
88
<T as FromStr>::Err: Debug,
99
{
1010
let mut tmp = String::new();

0 commit comments

Comments
 (0)