Răsfoiți Sursa

Fix description to match example code

CuriousCorrelation 4 ani în urmă
părinte
comite
a5ccae7971
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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;