summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSam Scott <sam.scott89@gmail.com>2018-08-04 12:13:46 -0400
committerSam Scott <sam.scott89@gmail.com>2018-08-04 12:13:46 -0400
commit51b9edc66b0320e4ad8680416f040070c2b3810c (patch)
tree0381c9c10651285122399c2c6aea19ba7dcef18e /examples
parent8d74ea933aa28f5007bd6cfc324305c0448c2d7c (diff)
Update documentation to clarify strict encoding modes.
Diffstat (limited to 'examples')
-rw-r--r--examples/introduction.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/introduction.rs b/examples/introduction.rs
index 9878968..a1f6fc9 100644
--- a/examples/introduction.rs
+++ b/examples/introduction.rs
@@ -72,7 +72,7 @@ fn main() {
//
// (For this round trip to work, it's necessary to parse the query string
// in non-strict mode, to allow parsing of url_encoded square brackets
- // in the key).
+ // in the key. See the lib.rs documentation for why).
let qs_non_strict = Config::new(5, false);
let params: QueryParams = qs_non_strict.deserialize_str(&encoded).unwrap();
assert_eq!(params, example_params);