aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/int.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/int.gleam b/src/gleam/int.gleam
index 6d48f8f..5d60b6e 100644
--- a/src/gleam/int.gleam
+++ b/src/gleam/int.gleam
@@ -502,7 +502,7 @@ fn do_digits(x: Int, base: Int, acc: List(Int)) -> List(Int) {
///
/// ```gleam
/// undigits([2,3,4], 1)
-/// // -> Error(InvalidBase)
+/// // -> Error(Nil)
/// ```
///
/// ```gleam