aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/uri.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/uri.gleam b/src/gleam/uri.gleam
index 603b9f2..b317f4b 100644
--- a/src/gleam/uri.gleam
+++ b/src/gleam/uri.gleam
@@ -179,7 +179,7 @@ fn extra_required(list: List(a), remaining: Int) -> Int {
case list {
_ if remaining == 0 -> 0
[] -> remaining
- [_, ..xs] -> extra_required(xs, remaining - 1)
+ [_, ..rest] -> extra_required(rest, remaining - 1)
}
}