From ebbab0d259ab0f3af86edfd20bc90fefc7569eae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Hozda?= Date: Sat, 28 Oct 2017 17:44:53 +0200 Subject: [PATCH] bump version, remove unneeded cause() fn as it now has a provided implementation --- Cargo.toml | 2 +- src/parser.rs | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) 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 {