Skip to content

Commit

Permalink
cql-sh: do not return println! result
Browse files Browse the repository at this point in the history
  • Loading branch information
muzarski committed Dec 2, 2024
1 parent f2102d1 commit 9639b99
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/cqlsh-rs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,10 @@ fn print_result(result: QueryResult) -> Result<(), IntoRowsResultError> {
}
Ok(())
}
Err(IntoRowsResultError::ResultNotRows(_)) => Ok(println!("OK")),
Err(IntoRowsResultError::ResultNotRows(_)) => {
println!("OK");
Ok(())
}
Err(e) => Err(e),
}
}
Expand Down

0 comments on commit 9639b99

Please sign in to comment.