diff options
author | Sam Scott <sam.scott89@gmail.com> | 2017-03-12 14:53:16 -0400 |
---|---|---|
committer | Sam Scott <sam.scott89@gmail.com> | 2017-03-12 14:53:16 -0400 |
commit | 57bfc2e1061da6bf55a1d04ac35e6dbbeebabb69 (patch) | |
tree | 0ceed2cda50ce90f0a3f939c7def55ff7225b3f5 /src/lib.rs | |
parent | 71e1aa802eb26b18e2cea412261d8a589ab7c3fe (diff) |
Add in docs link, clean up examples and querystring consistency.
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -22,14 +22,16 @@ //! Serializing/Deserializing is designed to work with maps and structs. //! //! ``` +//! #[macro_use] +//! extern crate serde_derive; +//! extern crate serde_qs as qs; //! -//! -//! #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +//! #[derive(Debug, PartialEq, Deserialize, Serialize)] //! struct Address { //! city: String, //! postcode: String, //! } -//! #[derive(Clone, Debug, PartialEq, Serialize, Deserialize)] +//! #[derive(Debug, PartialEq, Deserialize, Serialize)] //! struct QueryParams { //! id: u8, //! name: String, |