diff options
author | Sam Tay <sam.chong.tay@gmail.com> | 2020-06-16 20:55:10 -0700 |
---|---|---|
committer | Sam Tay <sam.chong.tay@gmail.com> | 2020-06-16 20:55:10 -0700 |
commit | d422c8424ae76fc85e0fdf55257e0cee7fa38271 (patch) | |
tree | 0ebfd038e294b0020ca41aeb9a43c1f6879615ba /src/error.rs | |
parent | 76be36e46a5d404cbfb93253bfba4b73f03ee811 (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.rs | 4 |
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)] |