Dynamically sized means something else

This commit is contained in:
David Tolnay 2017-04-13 13:56:12 -07:00
parent 7d16710fb4
commit 0cf8eadef8
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
2 changed files with 3 additions and 3 deletions

View File

@ -715,7 +715,7 @@ where
/// - newtype_variant
/// - the `E::N` in `enum E { N(u8) }`
/// - 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>`
/// - seq_fixed_size
/// - a statically sized sequence of values for which the size will be known

View File

@ -264,7 +264,7 @@ pub trait Serialize {
/// - newtype_variant
/// - the `E::N` in `enum E { N(u8) }`
/// - 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>`
/// - seq_fixed_size
/// - a statically sized sequence of values for which the size will be known
@ -552,7 +552,7 @@ pub trait Serializer: Sized {
where
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
/// `end`.
///