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(
636636/// ## Examples
637637///
638638/// ```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"))
640640/// to_string(uri)
641- /// // -> "http ://example.com"
641+ /// // -> "https ://example.com"
642642/// ```
643643///
644644pub fn to_string ( uri : Uri ) -> String {
@@ -680,9 +680,9 @@ pub fn to_string(uri: Uri) -> String {
680680/// ## Examples
681681///
682682/// ```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")
684684/// origin(uri)
685- /// // -> Ok("http ://example.com")
685+ /// // -> Ok("https ://example.com")
686686/// ```
687687///
688688pub fn origin ( uri : Uri ) -> Result ( String , Nil ) {
You can’t perform that action at this time.
0 commit comments