aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPgBiel <9021226+PgBiel@users.noreply.github.com>2024-04-08 00:30:22 -0300
committerLouis Pilfold <louis@lpil.uk>2024-04-08 11:47:59 +0100
commit0b101d3fd02a4cea0bd977b01185c7eca604ec41 (patch)
treecf7db334159c4e78ee9a290f7a4ca39ac3de60eb /src
parent087a6594da66518432f4e31ed66fb1044622378c (diff)
downloadgleam_json-0b101d3fd02a4cea0bd977b01185c7eca604ec41.tar.gz
gleam_json-0b101d3fd02a4cea0bd977b01185c7eca604ec41.zip
more docs fixes
Diffstat (limited to 'src')
-rw-r--r--src/gleam/json.gleam6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gleam/json.gleam b/src/gleam/json.gleam
index c5285c8..3c50712 100644
--- a/src/gleam/json.gleam
+++ b/src/gleam/json.gleam
@@ -127,7 +127,7 @@ fn do_to_string(a: Json) -> String
/// Convert a JSON value into a string builder.
///
-/// Where possible prefer this function to the `to_string` function as it is
+/// Where possible prefer this function to the `to_string` function as it is
/// slower than this function, and BEAM VM IO is optimised for sending
/// `StringBuilder` data.
///
@@ -197,7 +197,7 @@ pub fn int(input: Int) -> Json {
@external(javascript, "../gleam_json_ffi.mjs", "identity")
fn do_int(a: Int) -> Json
-/// Encode an float into JSON.
+/// Encode a float into JSON.
///
/// ## Examples
///
@@ -231,7 +231,7 @@ pub fn null() -> Json {
@external(javascript, "../gleam_json_ffi.mjs", "do_null")
fn do_null() -> Json
-/// Encode an optional value into JSON, using null if it the `None` variant.
+/// Encode an optional value into JSON, using null if it is the `None` variant.
///
/// ## Examples
///