File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ unstable = []
3030[dependencies ]
3131precomputed-hash = " 0.1"
3232lazy_static = " 0.2"
33- serde = " 0.9 "
33+ serde = " 1 "
3434phf_shared = " 0.7.4"
3535debug_unreachable = " 0.1.1"
3636heapsize = { version = " 0.3" , optional = true }
Original file line number Diff line number Diff line change @@ -458,8 +458,8 @@ impl<Static: StaticAtomSet> Serialize for Atom<Static> {
458458 }
459459}
460460
461- impl < Static : StaticAtomSet > Deserialize for Atom < Static > {
462- fn deserialize < D > ( deserializer : D ) -> Result < Self , D :: Error > where D : Deserializer {
461+ impl < ' a , Static : StaticAtomSet > Deserialize < ' a > for Atom < Static > {
462+ fn deserialize < D > ( deserializer : D ) -> Result < Self , D :: Error > where D : Deserializer < ' a > {
463463 let string: String = try!( Deserialize :: deserialize ( deserializer) ) ;
464464 Ok ( Atom :: from ( string) )
465465 }
You can’t perform that action at this time.
0 commit comments