From 51b9edc66b0320e4ad8680416f040070c2b3810c Mon Sep 17 00:00:00 2001 From: Sam Scott Date: Sat, 4 Aug 2018 12:13:46 -0400 Subject: Update documentation to clarify strict encoding modes. --- examples/introduction.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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); -- cgit v1.2.3