mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-14 07:01:02 +00:00
Dynamically sized means something else
This commit is contained in:
+1
-1
@@ -715,7 +715,7 @@ where
|
|||||||
/// - newtype_variant
|
/// - newtype_variant
|
||||||
/// - the `E::N` in `enum E { N(u8) }`
|
/// - the `E::N` in `enum E { N(u8) }`
|
||||||
/// - seq
|
/// - seq
|
||||||
/// - a dynamically sized sequence of values, for example `Vec<T>` or
|
/// - a variably sized sequence of values, for example `Vec<T>` or
|
||||||
/// `HashSet<T>`
|
/// `HashSet<T>`
|
||||||
/// - seq_fixed_size
|
/// - seq_fixed_size
|
||||||
/// - a statically sized sequence of values for which the size will be known
|
/// - a statically sized sequence of values for which the size will be known
|
||||||
|
|||||||
@@ -264,7 +264,7 @@ pub trait Serialize {
|
|||||||
/// - newtype_variant
|
/// - newtype_variant
|
||||||
/// - the `E::N` in `enum E { N(u8) }`
|
/// - the `E::N` in `enum E { N(u8) }`
|
||||||
/// - seq
|
/// - seq
|
||||||
/// - a dynamically sized sequence of values, for example `Vec<T>` or
|
/// - a variably sized sequence of values, for example `Vec<T>` or
|
||||||
/// `HashSet<T>`
|
/// `HashSet<T>`
|
||||||
/// - seq_fixed_size
|
/// - seq_fixed_size
|
||||||
/// - a statically sized sequence of values for which the size will be known
|
/// - a statically sized sequence of values for which the size will be known
|
||||||
@@ -552,7 +552,7 @@ pub trait Serializer: Sized {
|
|||||||
where
|
where
|
||||||
T: Serialize;
|
T: Serialize;
|
||||||
|
|
||||||
/// Begin to serialize a dynamically sized sequence. This call must be
|
/// Begin to serialize a variably sized sequence. This call must be
|
||||||
/// followed by zero or more calls to `serialize_element`, then a call to
|
/// followed by zero or more calls to `serialize_element`, then a call to
|
||||||
/// `end`.
|
/// `end`.
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user