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:
parent
2be7a2ba6b
commit
5bedf46353
|
@ -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> {
|
||||
|
|
Loading…
Reference in New Issue