Skip to content

Commit 1a3f124

Browse files
diemogebhardtlpil
authored andcommitted
Change Uri.empty examples to not use Uri module prefix
1 parent 6b7d011 commit 1a3f124

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gleam/uri.gleam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ pub type Uri {
3333
/// ## Examples
3434
///
3535
/// ```gleam
36-
/// let uri = Uri(..Uri.empty, scheme: Some("https"), host: Some("example.com"))
36+
/// let uri = Uri(..empty, scheme: Some("https"), host: Some("example.com"))
3737
/// // -> Uri(
3838
/// // scheme: Some("https"),
3939
/// // userinfo: None,
@@ -636,7 +636,7 @@ fn remove_dot_segments_loop(
636636
/// ## Examples
637637
///
638638
/// ```gleam
639-
/// let uri = Uri(..Uri.empty, scheme: Some("https"), host: Some("example.com"))
639+
/// let uri = Uri(..empty, scheme: Some("https"), host: Some("example.com"))
640640
/// to_string(uri)
641641
/// // -> "https://example.com"
642642
/// ```

0 commit comments

Comments
 (0)