Skip to content

Commit f4f3b89

Browse files
JosephTLyonslpil
authored andcommitted
Fix some typos
1 parent cdb45f4 commit f4f3b89

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
## v0.42.0 - 2024-11-15
3737

3838
- The `bit_array` module gains the `bit_size` and `starts_with` functions.
39-
- Ths `string` module gains the `drop_start`, `drop_end`, `pad_start`,
39+
- The `string` module gains the `drop_start`, `drop_end`, `pad_start`,
4040
`pad_end`, `trim_start`, and `trim_end` functions. These replace the
4141
`drop_left`, `drop_right`, `pad_left`, `pad_right`, `trim_left`, and
4242
`trim_right` functions, which have been deprecated.

src/gleam/uri.gleam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ fn parse_host_within_brackets_loop(
259259
// Inside `[...]` there can only be some characters, if we find a special
260260
// one then we know that we're actually parsing the other format for the
261261
// host and we switch to that!
262-
case is_valid_host_withing_brackets_char(char) {
262+
case is_valid_host_within_brackets_char(char) {
263263
True ->
264264
parse_host_within_brackets_loop(original, rest, pieces, size + 1)
265265

@@ -270,7 +270,7 @@ fn parse_host_within_brackets_loop(
270270
}
271271
}
272272

273-
fn is_valid_host_withing_brackets_char(char: Int) -> Bool {
273+
fn is_valid_host_within_brackets_char(char: Int) -> Bool {
274274
// [0-9]
275275
{ 48 >= char && char <= 57 }
276276
// [A-Z]

0 commit comments

Comments
 (0)