mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-12 19:01:02 +00:00
Enable unsized Map/SeqAccess types to use the impl for &mut
This commit is contained in:
+2
-2
@@ -1714,7 +1714,7 @@ pub trait SeqAccess<'de> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'de, 'a, A> SeqAccess<'de> for &'a mut A
|
impl<'de, 'a, A: ?Sized> SeqAccess<'de> for &'a mut A
|
||||||
where
|
where
|
||||||
A: SeqAccess<'de>,
|
A: SeqAccess<'de>,
|
||||||
{
|
{
|
||||||
@@ -1867,7 +1867,7 @@ pub trait MapAccess<'de> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'de, 'a, A> MapAccess<'de> for &'a mut A
|
impl<'de, 'a, A: ?Sized> MapAccess<'de> for &'a mut A
|
||||||
where
|
where
|
||||||
A: MapAccess<'de>,
|
A: MapAccess<'de>,
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user