Skip to content

Commit

Permalink
Change Uri.empty examples to not use Uri module prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
diemogebhardt authored and lpil committed Feb 11, 2025
1 parent 6b7d011 commit 1a3f124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gleam/uri.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"
/// ```
Expand Down

0 comments on commit 1a3f124

Please sign in to comment.