Squelch explicit_outlives_requirements warning.
This commit is contained in:
parent
d410e2814f
commit
5cb9b37b99
|
@ -278,7 +278,7 @@ struct Table<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub struct MapVisitor<'de: 'b, 'b> {
|
pub struct MapVisitor<'de, 'b> {
|
||||||
values: vec::IntoIter<(Cow<'de, str>, Value<'de>)>,
|
values: vec::IntoIter<(Cow<'de, str>, Value<'de>)>,
|
||||||
next_value: Option<(Cow<'de, str>, Value<'de>)>,
|
next_value: Option<(Cow<'de, str>, Value<'de>)>,
|
||||||
depth: usize,
|
depth: usize,
|
||||||
|
|
|
@ -222,7 +222,7 @@ enum State<'a> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub struct SerializeSeq<'a: 'b, 'b> {
|
pub struct SerializeSeq<'a, 'b> {
|
||||||
ser: &'b mut Serializer<'a>,
|
ser: &'b mut Serializer<'a>,
|
||||||
first: Cell<bool>,
|
first: Cell<bool>,
|
||||||
type_: Cell<Option<&'static str>>,
|
type_: Cell<Option<&'static str>>,
|
||||||
|
@ -230,7 +230,7 @@ pub struct SerializeSeq<'a: 'b, 'b> {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
pub enum SerializeTable<'a: 'b, 'b> {
|
pub enum SerializeTable<'a, 'b> {
|
||||||
Datetime(&'b mut Serializer<'a>),
|
Datetime(&'b mut Serializer<'a>),
|
||||||
Table {
|
Table {
|
||||||
ser: &'b mut Serializer<'a>,
|
ser: &'b mut Serializer<'a>,
|
||||||
|
@ -1186,7 +1186,7 @@ impl<'a, 'b> ser::SerializeStruct for SerializeTable<'a, 'b> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
struct DateStrEmitter<'a: 'b, 'b>(&'b mut Serializer<'a>);
|
struct DateStrEmitter<'a, 'b>(&'b mut Serializer<'a>);
|
||||||
|
|
||||||
impl<'a, 'b> ser::Serializer for DateStrEmitter<'a, 'b> {
|
impl<'a, 'b> ser::Serializer for DateStrEmitter<'a, 'b> {
|
||||||
type Ok = ();
|
type Ok = ();
|
||||||
|
|
Loading…
Reference in a new issue