diff options
author | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-05-02 21:50:35 -0400 |
---|---|---|
committer | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-05-02 21:50:35 -0400 |
commit | 8307b06c56934aa74985a0fee1271f1bc299b83f (patch) | |
tree | 39ab937261566fea71461b152a6350623a1dad9c /src/utils | |
parent | e12c2f5212b7898b10f6c01024fa2cbe59c55bc6 (diff) |
bug: fix bug with multiple tokens
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/error.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/utils/error.rs b/src/utils/error.rs index 22c217bc..227635c3 100644 --- a/src/utils/error.rs +++ b/src/utils/error.rs @@ -49,9 +49,7 @@ impl std::fmt::Display for BottomError { BottomError::ConversionError(ref message) => { write!(f, "unable to convert: {}", message) } - BottomError::QueryError(ref _message) => { - write!(f, "invalid query - this should not be shown!") - } + BottomError::QueryError(ref message) => write!(f, "{}", message), } } } |