@@ -448,7 +448,7 @@ impl Url {
448448 /// let base = Url::parse("https://alice.com/a")?;
449449 /// let url = base.join("http://eve.com/b")?;
450450 /// assert_eq!(url.as_str(), "http://eve.com/b"); // http instead of https
451-
451+ ///
452452 /// # Ok(())
453453 /// # }
454454 /// # run().unwrap();
@@ -1492,7 +1492,7 @@ impl Url {
14921492 /// # }
14931493 /// # run().unwrap();
14941494 /// ```
1495-
1495+ ///
14961496 #[ inline]
14971497 pub fn query_pairs ( & self ) -> form_urlencoded:: Parse < ' _ > {
14981498 form_urlencoded:: parse ( self . query ( ) . unwrap_or ( "" ) . as_bytes ( ) )
@@ -1555,7 +1555,7 @@ impl Url {
15551555 /// # fn run() -> Result<(), ParseError> {
15561556 /// let mut url = Url::parse("https://example.com/data.csv")?;
15571557 /// assert_eq!(url.as_str(), "https://example.com/data.csv");
1558-
1558+ ///
15591559 /// url.set_fragment(Some("cell=4,1-6,2"));
15601560 /// assert_eq!(url.as_str(), "https://example.com/data.csv#cell=4,1-6,2");
15611561 /// assert_eq!(url.fragment(), Some("cell=4,1-6,2"));
@@ -3177,7 +3177,7 @@ impl<'a> form_urlencoded::Target for UrlQuery<'a> {
31773177 type Finished = & ' a mut Url ;
31783178}
31793179
3180- impl < ' a > Drop for UrlQuery < ' a > {
3180+ impl Drop for UrlQuery < ' _ > {
31813181 fn drop ( & mut self ) {
31823182 if let Some ( url) = self . url . take ( ) {
31833183 url. restore_already_parsed_fragment ( self . fragment . take ( ) )
0 commit comments