fix some typos

This commit is contained in:
Martin Lindhe 2018-01-03 15:16:45 +01:00
parent 7aeabddd2f
commit ae0373643c
3 changed files with 3 additions and 3 deletions

View File

@ -513,7 +513,7 @@ pub trait Deserialize<'de>: Sized {
/// have been overwritten. Although whatever state that is will be
/// memory-safe.
///
/// This is generally useful when repeateadly deserializing values that
/// This is generally useful when repeatedly deserializing values that
/// are processed one at a time, where the value of `self` doesn't matter
/// when the next deserialization occurs.
///

View File

@ -53,7 +53,7 @@
//! # use serde::ser::{Serialize, Serializer, SerializeMap};
//! # use serde::de::{Deserialize, Deserializer, Visitor, MapAccess};
//! #
//! # // Dumb immitation of LinkedHashMap.
//! # // Dumb imitation of LinkedHashMap.
//! # #[derive(PartialEq, Debug)]
//! # struct LinkedHashMap<K, V>(Vec<(K, V)>);
//! #

View File

@ -30,7 +30,7 @@ fn ip_addr_roundtrip() {
}
#[test]
fn socked_addr_roundtrip() {
fn socket_addr_roundtrip() {
assert_tokens(
&net::SocketAddr::from((*b"1234567890123456", 1234)).compact(),
&seq![