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 2be7a2ba6b
commit 5bedf46353
1 changed files with 1 additions and 1 deletions

View File

@ -393,7 +393,7 @@ impl Serializable for UUID {
pub trait Lengthable : Serializable + Copy + Default {
fn into(self) -> usize;
fn from(usize) -> Self;
fn from(_: usize) -> Self;
}
pub struct LenPrefixed<L: Lengthable, V> {