Skip to content

Commit

Permalink
locator is never empty
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jan 14, 2023
1 parent c401cd1 commit 70e7b56
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/find.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ impl Sodg {
break;
}
let k = next.unwrap().to_string();
if k.is_empty() {
return Err(anyhow!("System error, the locator is empty"));
}
if k.starts_with('ν') {
let num: String = k.chars().skip(1).collect::<Vec<_>>().into_iter().collect();
v = u32::from_str(num.as_str())?;
Expand Down

0 comments on commit 70e7b56

Please sign in to comment.