summaryrefslogtreecommitdiff
path: root/src/driver.rs
diff options
context:
space:
mode:
authorNick Gerace <nickagerace@gmail.com>2020-12-14 22:20:26 -0500
committerNick Gerace <nickagerace@gmail.com>2020-12-14 22:29:40 -0500
commitaed902f0405dded43e248b9ba1fde08e75b40fcb (patch)
tree9d8eba846c30bf1a3b55f647d6f2f7e5956ae70a /src/driver.rs
parentd1a872cdf122e35b81738544eee2165fa9fa9b21 (diff)
downloadgfold-aed902f0405dded43e248b9ba1fde08e75b40fcb.zip
Add back unpush functionality
Add back unpush functionality, which now returns a boolean only and logs errors found. Remove empty results message since it was potentially misleading. For instance, errors may occur silently even though the message to STDOUT always claims that there are no results to display.
Diffstat (limited to 'src/driver.rs')
-rw-r--r--src/driver.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/driver.rs b/src/driver.rs
index 48578ac..4040b25 100644
--- a/src/driver.rs
+++ b/src/driver.rs
@@ -52,9 +52,7 @@ impl Results {
Ordering::Equal => {
self.0[0].table.printstd();
}
- Ordering::Less => {
- println!("There are no results to display.");
- }
+ _ => {}
};
}