@@ -1904,10 +1904,11 @@ mod content {
1904
1904
Content :: None => visitor. visit_none ( ) ,
1905
1905
Content :: Some ( ref v) => visitor. visit_some ( ContentRefDeserializer :: new ( v) ) ,
1906
1906
Content :: Unit => visitor. visit_unit ( ) ,
1907
- // This case is necessary for formats which does not store marker of optionality of value,
1908
- // for example, JSON. When `deserialize_any` is requested from such formats, they will
1909
- // report value without using `Visitor::visit_some`, because they do not known in which
1910
- // contexts this value will be used.
1907
+ // This case is necessary for formats which does not store
1908
+ // marker of optionality of value, for example, JSON. When
1909
+ // `deserialize_any` is requested from such formats, they will
1910
+ // report value without using `Visitor::visit_some`, because
1911
+ // they do not known in which contexts this value will be used.
1911
1912
// RON is example of format which preserve markers.
1912
1913
_ => visitor. visit_some ( self ) ,
1913
1914
}
@@ -1944,11 +1945,12 @@ mod content {
1944
1945
Content :: Newtype ( ref v) => {
1945
1946
visitor. visit_newtype_struct ( ContentRefDeserializer :: new ( v) )
1946
1947
}
1947
- // This case is necessary for formats which does not store marker of a newtype,
1948
- // for example, JSON. When `deserialize_any` is requested from such formats, they will
1949
- // report value without using `Visitor::visit_newtype_struct`, because they do not
1950
- // known in which contexts this value will be used.
1951
- // RON is example of format which preserve markers.
1948
+ // This case is necessary for formats which does not store
1949
+ // marker of a newtype, for example, JSON. When
1950
+ // `deserialize_any` is requested from such formats, they will
1951
+ // report value without using `Visitor::visit_newtype_struct`,
1952
+ // because they do not known in which contexts this value will
1953
+ // be used. RON is example of format which preserve markers.
1952
1954
_ => visitor. visit_newtype_struct ( self ) ,
1953
1955
}
1954
1956
}
0 commit comments