1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-05 10:49:40 +02:00

Use serde 1.0

This commit is contained in:
Michael Edwards 2019-03-15 15:50:15 +01:00
parent 8b32e7a63e
commit 0bbca1d8bc
6 changed files with 31 additions and 98 deletions

View file

@ -65,9 +65,9 @@ pub struct MetadataContext {
}
#[allow(non_snake_case)]
fn deserialize_protobuf_TrackRef<D>(de: D) -> Result<Vec<TrackRef>, D::Error>
fn deserialize_protobuf_TrackRef<'d, D>(de: D) -> Result<Vec<TrackRef>, D::Error>
where
D: serde::Deserializer,
D: serde::Deserializer<'d>,
{
let v: Vec<TrackContext> = try!(serde::Deserialize::deserialize(de));
let track_vec = v