Clippy
This commit is contained in:
parent
2ba158a0d4
commit
0cac6a0094
3 changed files with 16 additions and 13 deletions
|
|
@ -61,7 +61,7 @@ async fn main() -> anyhow::Result<()> {
|
|||
println!("Ready for query: {:?}", data);
|
||||
line.clear();
|
||||
let res = std::io::stdin().read_line(&mut line);
|
||||
if let Ok(_) = res {
|
||||
if res.is_ok() {
|
||||
if line.eq("exit") {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue