aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2022-03-19 16:16:39 +0100
committerTeddy Wing2022-03-19 16:16:39 +0100
commit38f70de064fd9ed1e66a5da4007e7364a4a7d363 (patch)
treedaaae008575193f648dbf446b2123d88e1788921
parentb17e31ba0b817381b652e8b9df7dcf46aee68861 (diff)
downloadyaqlite-38f70de064fd9ed1e66a5da4007e7364a4a7d363.tar.bz2
main: Use `Result` from `yaqlite::select()`
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 8dd9957..d3c286b 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -79,7 +79,7 @@ fn main() {
} => {
let dbconn = rusqlite::Connection::open(database).unwrap();
- yaqlite::select(&dbconn, &table_name, &record_id);
+ yaqlite::select(&dbconn, &table_name, &record_id).unwrap();
dbconn.close().unwrap();
},