fn serialize_value<T>(&mut self, value: &T) -> Result<()>
    where
        T: ?Sized + Serialize,
    {
        // self.output += ":";
        value.serialize(&mut **self)
    }
// It doesn't make a difference whether the colon is printed at the end of
// `serialize_key` or at the beginning of `serialize_value`. In this case
// the code is a bit simpler having it here.
It doesn't make a difference whether the colon is printed at the end of
`serialize_key` or at the beginning of `serialize_value`. In this case
the code is a bit simpler having it here.
It doesn ' t make a difference whether the colon is printed at the end of ` serialize_key ` or at the beginning of ` serialize_value ` . In this case the code is a bit simpler having it here .
fn serialize_value<T>(&mut self, value: &T) -> Result<()>
    where
        T: ?Sized + Serialize,
    {
        // self.output += ":";
        value.serialize(&mut **self)
    }
fn serialize_value < T > ( & mut self , value : & T ) -> Result < ( ) > where T : ? Sized + Serialize , { // self.output += ":"; value . serialize ( & mut * * self ) }
It doesn't make a difference whether the colon is printed at the end of
`serialize_key` or at the beginning of `serialize_value`.
It doesn ' t make a difference whether the colon is printed at the end of ` serialize_key ` or at the beginning of ` serialize_value ` .
&mut self
value
&T
&mut self
value
&T