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
+1 -1
View File
@@ -513,7 +513,7 @@ pub trait Deserialize<'de>: Sized {
/// have been overwritten. Although whatever state that is will be /// have been overwritten. Although whatever state that is will be
/// memory-safe. /// 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 /// are processed one at a time, where the value of `self` doesn't matter
/// when the next deserialization occurs. /// when the next deserialization occurs.
/// ///
+1 -1
View File
@@ -53,7 +53,7 @@
//! # use serde::ser::{Serialize, Serializer, SerializeMap}; //! # use serde::ser::{Serialize, Serializer, SerializeMap};
//! # use serde::de::{Deserialize, Deserializer, Visitor, MapAccess}; //! # use serde::de::{Deserialize, Deserializer, Visitor, MapAccess};
//! # //! #
//! # // Dumb immitation of LinkedHashMap. //! # // Dumb imitation of LinkedHashMap.
//! # #[derive(PartialEq, Debug)] //! # #[derive(PartialEq, Debug)]
//! # struct LinkedHashMap<K, V>(Vec<(K, V)>); //! # struct LinkedHashMap<K, V>(Vec<(K, V)>);
//! # //! #
+1 -1
View File
@@ -30,7 +30,7 @@ fn ip_addr_roundtrip() {
} }
#[test] #[test]
fn socked_addr_roundtrip() { fn socket_addr_roundtrip() {
assert_tokens( assert_tokens(
&net::SocketAddr::from((*b"1234567890123456", 1234)).compact(), &net::SocketAddr::from((*b"1234567890123456", 1234)).compact(),
&seq![ &seq![