Skip to content

Commit

Permalink
Add 82250
Browse files Browse the repository at this point in the history
  • Loading branch information
fanninpm committed Feb 20, 2021
1 parent c303c5a commit 55cf9b0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ices/82250.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#![feature(let_chains)]

pub struct Describer {}

impl Describer {
fn process_input(&mut self) {
let index = "1";
if let Ok(index) = index.parse::<usize>() && index < self.l2_items.len() {
self.select(index);
}
}
}

0 comments on commit 55cf9b0

Please sign in to comment.