summaryrefslogtreecommitdiff
path: root/src/ser/mod.rs
diff options
context:
space:
mode:
authorSam Scott <sam.scott89@gmail.com>2017-03-10 13:27:42 -0500
committerSam Scott <sam.scott89@gmail.com>2017-03-10 13:27:42 -0500
commit31b5e882aa9058bf19534ab40ee6efa1ce6b2d73 (patch)
treea3d0b73556985f3e73e7a9c0004c0567ef31645c /src/ser/mod.rs
parent6aecad1c9a907c0dc567aef3388bb1857f9ed47d (diff)
Cleaning up, modifying docs.
Diffstat (limited to 'src/ser/mod.rs')
-rw-r--r--src/ser/mod.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/ser/mod.rs b/src/ser/mod.rs
index 596730e..f732bb3 100644
--- a/src/ser/mod.rs
+++ b/src/ser/mod.rs
@@ -46,11 +46,10 @@ pub fn to_string<T: ser::Serialize>(input: &T) -> Result<String, Error> {
/// A serializer for the querystring format.
///
-/// * Supported top-level inputs are structs, maps and sequences of pairs,
-/// with or without a given length.
+/// * Supported top-level inputs are structs and maps.
///
-/// * Supported keys and values are integers, bytes (if convertible to strings),
-/// unit structs and unit variants.
+/// * Supported values are currently most primitive types, structs, maps and
+/// sequences. Sequences are serialized with an incrementing key index.
///
/// * Newtype structs defer to their inner values.
pub struct Serializer<'output, Target: 'output + UrlEncodedTarget> {