diff options
author | Ethan Pang <ethan.pang@gitstart.com> | 2022-12-30 23:01:41 +0800 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2022-12-30 20:08:18 +0000 |
commit | c7dc11afb9e026f094340e0a537d49f2e732188c (patch) | |
tree | 2cd9b2c7251efffc46a799392a92fc05c4ecd707 /src | |
parent | ce96655a36b7f9684a88f86bee61952a2e9f10d3 (diff) | |
download | gleam_stdlib-c7dc11afb9e026f094340e0a537d49f2e732188c.tar.gz gleam_stdlib-c7dc11afb9e026f094340e0a537d49f2e732188c.zip |
Fix uri.to_string function doc example
Diffstat (limited to 'src')
-rw-r--r-- | src/gleam/uri.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/uri.gleam b/src/gleam/uri.gleam index d3f7947..7a53c5e 100644 --- a/src/gleam/uri.gleam +++ b/src/gleam/uri.gleam @@ -339,7 +339,7 @@ pub fn path_segments(path: String) -> List(String) { /// ```gleam /// > let uri = Uri(Some("http"), None, Some("example.com"), ...) /// > to_string(uri) -/// "https://example.com" +/// "http://example.com" /// ``` /// pub fn to_string(uri: Uri) -> String { |