File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -636,9 +636,9 @@ fn remove_dot_segments_loop(
636
636
/// ## Examples
637
637
///
638
638
/// ```gleam
639
- /// let uri = Uri(..Uri.empty, scheme: Some("http "), host: Some("example.com"))
639
+ /// let uri = Uri(..Uri.empty, scheme: Some("https "), host: Some("example.com"))
640
640
/// to_string(uri)
641
- /// // -> "http ://example.com"
641
+ /// // -> "https ://example.com"
642
642
/// ```
643
643
///
644
644
pub fn to_string ( uri : Uri ) -> String {
@@ -680,9 +680,9 @@ pub fn to_string(uri: Uri) -> String {
680
680
/// ## Examples
681
681
///
682
682
/// ```gleam
683
- /// let assert Ok(uri) = parse("http ://example.com/path?foo#bar")
683
+ /// let assert Ok(uri) = parse("https ://example.com/path?foo#bar")
684
684
/// origin(uri)
685
- /// // -> Ok("http ://example.com")
685
+ /// // -> Ok("https ://example.com")
686
686
/// ```
687
687
///
688
688
pub fn origin ( uri : Uri ) -> Result ( String , Nil ) {
You can’t perform that action at this time.
0 commit comments