mirror of
https://gitlab.com/mfocko/Codeforces.git
synced 2024-12-22 01:21:21 +01:00
chore(rs): fix clippy warnings
Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
parent
2062f120cc
commit
183ebc2891
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ mod math {
|
|||
return mul(half, half);
|
||||
}
|
||||
|
||||
return mul(half, mul(half, b));
|
||||
mul(half, mul(half, b))
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -97,7 +97,7 @@ mod input {
|
|||
}
|
||||
|
||||
pub fn next<T: FromStr>(&mut self) -> T {
|
||||
if self.buffer.len() == 0 {
|
||||
if self.buffer.is_empty() {
|
||||
let mut input = String::new();
|
||||
|
||||
io::stdin().read_line(&mut input).ok();
|
||||
|
|
Loading…
Reference in a new issue