Skip to content

Commit a5ccae7

Browse files
Fix description to match example code
1 parent f6df441 commit a5ccae7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

url/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2150,7 +2150,7 @@ impl Url {
21502150
///
21512151
/// # Examples
21522152
///
2153-
/// Change the URL’s scheme from `https` to `foo`:
2153+
/// Change the URL’s scheme from `https` to `http`:
21542154
///
21552155
/// ```
21562156
/// use url::Url;

0 commit comments

Comments
 (0)