]> git.lizzy.rs Git - rust.git/commitdiff
Use singular they in the serialize::json docs
authorFenhl <fenhl@fenhl.net>
Sat, 17 Jan 2015 20:44:54 +0000 (20:44 +0000)
committerFenhl <fenhl@fenhl.net>
Sat, 17 Jan 2015 20:44:54 +0000 (20:44 +0000)
See [https://gist.github.com/0xabad1dea/8870b192fd1758743f66](this document) by @0xabad1dea for the rationale.

src/libserialize/json.rs

index 41499b5ae0efed34bafe3b29191c5db904c957f0..a07b653cb26e2b256dcbc13c7132a774a0977a0b 100644 (file)
@@ -34,7 +34,7 @@
 //!
 //! An object is a series of string keys mapping to values, in `"key": value` format.
 //! Arrays are enclosed in square brackets ([ ... ]) and objects in curly brackets ({ ... }).
-//! A simple JSON document encoding a person, his/her age, address and phone numbers could look like
+//! A simple JSON document encoding a person, their age, address and phone numbers could look like
 //!
 //! ```ignore
 //! {
 //! }
 //! ```
 
-use self::JsonEvent::*;
 use self::ErrorCode::*;
+use self::JsonEvent::*;
 use self::ParserError::*;
 use self::DecoderError::*;
 use self::ParserState::*;