diff --git a/Cargo.toml b/Cargo.toml index 8b7ccaca..5334ac6c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rhai" -version = "0.5.1" +version = "0.6.0" authors = ["Jonathan Turner", "Lukáš Hozda"] description = "Embedded scripting for Rust" homepage = "https://github.com/jonathandturner/rhai" diff --git a/src/parser.rs b/src/parser.rs index 2561b7a2..667f424c 100644 --- a/src/parser.rs +++ b/src/parser.rs @@ -23,10 +23,6 @@ impl Error for LexError { LexError::Nothing => "This error is for internal use only" } } - - fn cause(&self) -> Option<&Error> { - None - } } impl fmt::Display for LexError {