diff --git a/Cargo.toml b/Cargo.toml index c3f4d364..416c2f56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "url" -version = "1.2.1" +version = "1.2.2" authors = ["The rust-url developers"] description = "URL library for Rust, based on the WHATWG URL Standard" diff --git a/src/lib.rs b/src/lib.rs index ad70d021..f8be5e16 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");