From 7dc27b39843c31b1ac35845b83ec5c1ca7b15c1f Mon Sep 17 00:00:00 2001 From: Alex Rothuis Date: Fri, 28 Oct 2022 02:35:10 +0200 Subject: API docs: improve links to specifications --- src/gleam/uri.gleam | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') 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`. -- cgit v1.2.3