aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFabian <fabian@fmbb.se>2023-03-04 13:02:16 +0100
committerLouis Pilfold <louis@lpil.uk>2023-03-04 20:35:02 +0000
commit589a74661749626a4a7b8a5e27b536430ed680af (patch)
tree7d492aa7616e09618aab54861d7f759b6b3d5d80 /src
parent1e3f3bdb54731bf37efbb05bc3c773e144ef590b (diff)
downloadgleam_stdlib-589a74661749626a4a7b8a5e27b536430ed680af.tar.gz
gleam_stdlib-589a74661749626a4a7b8a5e27b536430ed680af.zip
Use more natural writing for numeral bases in docs
Diffstat (limited to 'src')
-rw-r--r--src/gleam/int.gleam8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gleam/int.gleam b/src/gleam/int.gleam
index 1f7ab79..793a85e 100644
--- a/src/gleam/int.gleam
+++ b/src/gleam/int.gleam
@@ -222,7 +222,7 @@ if javascript {
"../gleam_stdlib.mjs" "int_to_base_string"
}
-/// Prints a given int to a string using base2.
+/// Prints a given int to a string using base-2.
///
/// ## Examples
///
@@ -235,7 +235,7 @@ pub fn to_base2(x: Int) -> String {
do_to_base_string(x, 2)
}
-/// Prints a given int to a string using base8.
+/// Prints a given int to a string using base-8.
///
/// ## Examples
///
@@ -248,7 +248,7 @@ pub fn to_base8(x: Int) -> String {
do_to_base_string(x, 8)
}
-/// Prints a given int to a string using base16.
+/// Prints a given int to a string using base-16.
///
/// ## Examples
///
@@ -261,7 +261,7 @@ pub fn to_base16(x: Int) -> String {
do_to_base_string(x, 16)
}
-/// Prints a given int to a string using base36.
+/// Prints a given int to a string using base-36.
///
/// ## Examples
///