Skip to content

Commit

Permalink
Minor fixup - use single quote in error message (#4413)
Browse files Browse the repository at this point in the history
Signed-off-by: Fuyang Liu <liufuyang@users.noreply.github.com>
  • Loading branch information
liufuyang authored and breezewish committed Mar 21, 2019
1 parent ac11703 commit c66be6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coprocessor/codec/error.rs
Expand Up @@ -79,7 +79,7 @@ impl Error {
}

pub fn overflow(data: &str, expr: &str) -> Error {
let msg = format!("{} value is out of range in {:?}", data, expr);
let msg = format!("{} value is out of range in '{}'", data, expr);
Error::Eval(msg, ERR_DATA_OUT_OF_RANGE)
}

Expand Down

0 comments on commit c66be6a

Please sign in to comment.