diff options
author | Alex Rothuis <alex.rothuis@gmail.com> | 2022-10-28 02:35:10 +0200 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2022-10-31 21:34:23 +0000 |
commit | 7dc27b39843c31b1ac35845b83ec5c1ca7b15c1f (patch) | |
tree | 06f8476de8353219490b5a6048a6cb9665db7b1f /src | |
parent | 2bff49f249e16714c2c0831aed68e9ec0b10e7e8 (diff) | |
download | gleam_stdlib-7dc27b39843c31b1ac35845b83ec5c1ca7b15c1f.tar.gz gleam_stdlib-7dc27b39843c31b1ac35845b83ec5c1ca7b15c1f.zip |
API docs: improve links to specifications
Diffstat (limited to 'src')
-rw-r--r-- | src/gleam/uri.gleam | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gleam/uri.gleam b/src/gleam/uri.gleam index f2b376f..be14668 100644 --- a/src/gleam/uri.gleam +++ b/src/gleam/uri.gleam @@ -4,8 +4,8 @@ //// URIs or encoding query strings). The functions in this module are implemented //// according to [RFC 3986](https://tools.ietf.org/html/rfc3986). //// -//// Query encoding (Form encoding) is defined in the w3c specification. -//// https://www.w3.org/TR/html52/sec-forms.html#urlencoded-form-data +//// Query encoding (Form encoding) is defined in the +//// [W3C specification](https://www.w3.org/TR/html52/sec-forms.html#urlencoded-form-data). import gleam/int import gleam/list @@ -370,7 +370,7 @@ pub fn to_string(uri: Uri) -> String { /// Fetches the origin of a URI. /// /// Returns the origin of a uri as defined in -/// https://tools.ietf.org/html/rfc6454 +/// [RFC 6454](https://tools.ietf.org/html/rfc6454) /// /// The supported URI schemes are `http` and `https`. /// URLs without a scheme will return `Error`. |