aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJoseph T. Lyons <JosephTLyons@gmail.com>2024-12-05 17:02:19 -0500
committerLouis Pilfold <louis@lpil.uk>2024-12-05 23:52:29 +0000
commitf4f3b89f1819a0d55448ef2e9997fd06d349e392 (patch)
tree386b4173a75560bcf1a6e9ac81982cbc2c46e409 /src
parentcdb45f406f0ffd97245cae2deeca4f376b272a6f (diff)
downloadgleam_stdlib-f4f3b89f1819a0d55448ef2e9997fd06d349e392.tar.gz
gleam_stdlib-f4f3b89f1819a0d55448ef2e9997fd06d349e392.zip
Fix some typos
Diffstat (limited to 'src')
-rw-r--r--src/gleam/uri.gleam4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam/uri.gleam b/src/gleam/uri.gleam
index 06257bb..29545cf 100644
--- a/src/gleam/uri.gleam
+++ b/src/gleam/uri.gleam
@@ -259,7 +259,7 @@ fn parse_host_within_brackets_loop(
// Inside `[...]` there can only be some characters, if we find a special
// one then we know that we're actually parsing the other format for the
// host and we switch to that!
- case is_valid_host_withing_brackets_char(char) {
+ case is_valid_host_within_brackets_char(char) {
True ->
parse_host_within_brackets_loop(original, rest, pieces, size + 1)
@@ -270,7 +270,7 @@ fn parse_host_within_brackets_loop(
}
}
-fn is_valid_host_withing_brackets_char(char: Int) -> Bool {
+fn is_valid_host_within_brackets_char(char: Int) -> Bool {
// [0-9]
{ 48 >= char && char <= 57 }
// [A-Z]