From ae0373643ce44df1cc56d4c9cd2cd99ea978b210 Mon Sep 17 00:00:00 2001 From: Martin Lindhe Date: Wed, 3 Jan 2018 15:16:45 +0100 Subject: [PATCH] fix some typos --- serde/src/de/mod.rs | 2 +- serde_test/src/lib.rs | 2 +- test_suite/tests/test_roundtrip.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/serde/src/de/mod.rs b/serde/src/de/mod.rs index fe5b35b3..cc2c6502 100644 --- a/serde/src/de/mod.rs +++ b/serde/src/de/mod.rs @@ -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. /// diff --git a/serde_test/src/lib.rs b/serde_test/src/lib.rs index f88e561e..940e70a1 100644 --- a/serde_test/src/lib.rs +++ b/serde_test/src/lib.rs @@ -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(Vec<(K, V)>); //! # diff --git a/test_suite/tests/test_roundtrip.rs b/test_suite/tests/test_roundtrip.rs index 300fe8d3..199dbb3b 100644 --- a/test_suite/tests/test_roundtrip.rs +++ b/test_suite/tests/test_roundtrip.rs @@ -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![