We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcd2539 commit 1fcc654Copy full SHA for 1fcc654
src/handlers/leetcode/api/question.rs
@@ -115,8 +115,7 @@ impl LeetCode<Authorized> {
115
0, &boiler_code_vector[0].langSlug
116
);
117
std::io::stdin().read_line(&mut input)?;
118
- let input = input.trim();
119
- let input = input.parse::<usize>()?;
+ let input = input.trim().parse::<usize>()?;
120
boiler_code_vector.swap_remove(input)
121
}
122
};
0 commit comments