Remove anonymous trait parameters, name _ for Rust 2018

https://rust-lang-nursery.github.io/edition-guide/rust-2018/trait-system/no-anon-params.html
This commit is contained in:
ice_iix 2018-11-04 11:33:23 -08:00
parent d95b99c175
commit d31a58b3eb
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ pub enum Value {
}
pub trait MetaValue {
fn unwrap(&Value) -> &Self;
fn unwrap(_: &Value) -> &Self;
fn wrap(self) -> Value;
}