bump version, remove unneeded cause() fn as it now has a provided implementation
This commit is contained in:
parent
780962fcea
commit
ebbab0d259
@ -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"
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user