Przeglądaj źródła

Fix description to match example code

CuriousCorrelation 4 lat temu
rodzic
commit
a5ccae7971
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      url/src/lib.rs

+ 1 - 1
url/src/lib.rs

@@ -2150,7 +2150,7 @@ impl Url {
     ///
     /// # Examples
     ///
-    /// Change the URL’s scheme from `https` to `foo`:
+    /// Change the URL’s scheme from `https` to `http`:
     ///
     /// ```
     /// use url::Url;