From 63142b2e68020626027a68b7616b65f956400d85 Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Thu, 20 Oct 2016 16:49:29 +0200 Subject: [PATCH] Work around an unfortunate ICE https://github.com/rust-lang/rust/issues/37274 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index ad70d0213..f8be5e16b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -762,7 +762,7 @@ impl Url { /// url.query_pairs_mut() /// .clear() /// .append_pair("foo", "bar & baz") - /// .append_pair("saisons", "Été+hiver"); + /// .append_pair("saisons", "\u{00C9}t\u{00E9}+hiver"); /// assert_eq!(url.query(), Some("foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver")); /// assert_eq!(url.as_str(), /// "https://example.net/?foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver#nav");