From 1a3f124b617f68f91115d574b68a732a25f512b5 Mon Sep 17 00:00:00 2001 From: Diemo Gebhardt Date: Tue, 11 Feb 2025 00:40:11 +0100 Subject: [PATCH] Change Uri.empty examples to not use Uri module prefix --- src/gleam/uri.gleam | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gleam/uri.gleam b/src/gleam/uri.gleam index a252aa2f..5b6565cc 100644 --- a/src/gleam/uri.gleam +++ b/src/gleam/uri.gleam @@ -33,7 +33,7 @@ pub type Uri { /// ## Examples /// /// ```gleam -/// let uri = Uri(..Uri.empty, scheme: Some("https"), host: Some("example.com")) +/// let uri = Uri(..empty, scheme: Some("https"), host: Some("example.com")) /// // -> Uri( /// // scheme: Some("https"), /// // userinfo: None, @@ -636,7 +636,7 @@ fn remove_dot_segments_loop( /// ## Examples /// /// ```gleam -/// let uri = Uri(..Uri.empty, scheme: Some("https"), host: Some("example.com")) +/// let uri = Uri(..empty, scheme: Some("https"), host: Some("example.com")) /// to_string(uri) /// // -> "https://example.com" /// ```