summaryrefslogtreecommitdiffstats
path: root/src/error.rs
diff options
context:
space:
mode:
authorSam Tay <sam.chong.tay@gmail.com>2020-06-16 20:55:10 -0700
committerSam Tay <sam.chong.tay@gmail.com>2020-06-16 20:55:10 -0700
commitd422c8424ae76fc85e0fdf55257e0cee7fa38271 (patch)
tree0ebfd038e294b0020ca41aeb9a43c1f6879615ba /src/error.rs
parent76be36e46a5d404cbfb93253bfba4b73f03ee811 (diff)
Add --lucky flag
Punting on async for now because loading up the cursive app is already super fast. Might be noticeably necessary after multi-site and external search engines are added
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/error.rs b/src/error.rs
index 35847c3..86fb55f 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -26,8 +26,8 @@ pub enum Error {
ProjectDir,
#[error("Empty sites file in cache")]
EmptySites,
- //#[error("Sorry, couldn't find any answers for your query")]
- //NoResults,
+ #[error("Sorry, couldn't find any answers for your query")]
+ NoResults,
}
#[derive(Debug)]