aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Rothuis <alex.rothuis@gmail.com>2023-11-12 19:34:15 +0100
committerLouis Pilfold <louis@lpil.uk>2023-11-13 17:43:06 +0000
commitb7c3c20c9e2ec2f20c449b5ff78e99a0949a717d (patch)
tree2fe063b75c8309c910e647d2021d2e3d8fb2b972
parent7a07cf7d501a373a5aaa3f588c72ee5ac20cd7a4 (diff)
downloadgleam_stdlib-b7c3c20c9e2ec2f20c449b5ff78e99a0949a717d.tar.gz
gleam_stdlib-b7c3c20c9e2ec2f20c449b5ff78e99a0949a717d.zip
Fix docs formatting for dynamic.tuple4 examples
-rw-r--r--src/gleam/dynamic.gleam2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gleam/dynamic.gleam b/src/gleam/dynamic.gleam
index 2e57176..fb6eac2 100644
--- a/src/gleam/dynamic.gleam
+++ b/src/gleam/dynamic.gleam
@@ -742,6 +742,7 @@ pub fn tuple3(
/// > from(#(1, 2.0, "3", 4))
/// > |> tuple4(int, float, string, int)
/// Ok(#(1, 2.0, "3", 4))
+/// ```
///
/// ```gleam
/// > from([1, 2, 3, 4])
@@ -755,6 +756,7 @@ pub fn tuple3(
/// Ok(#(1, 2.0, "3", 4))
/// ```
///
+/// ```gleam
/// > from(#(1, 2))
/// > |> tuple4(int, float, string, int)
/// Error([