bump version, remove unneeded cause() fn as it now has a provided implementation

This commit is contained in:
Lukáš Hozda 2017-10-28 17:44:53 +02:00
parent 780962fcea
commit ebbab0d259
2 changed files with 1 additions and 5 deletions

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rhai" name = "rhai"
version = "0.5.1" version = "0.6.0"
authors = ["Jonathan Turner", "Lukáš Hozda"] authors = ["Jonathan Turner", "Lukáš Hozda"]
description = "Embedded scripting for Rust" description = "Embedded scripting for Rust"
homepage = "https://github.com/jonathandturner/rhai" homepage = "https://github.com/jonathandturner/rhai"

View File

@ -23,10 +23,6 @@ impl Error for LexError {
LexError::Nothing => "This error is for internal use only" LexError::Nothing => "This error is for internal use only"
} }
} }
fn cause(&self) -> Option<&Error> {
None
}
} }
impl fmt::Display for LexError { impl fmt::Display for LexError {