aboutsummaryrefslogtreecommitdiff
path: root/src/any.gleam
diff options
context:
space:
mode:
Diffstat (limited to 'src/any.gleam')
-rw-r--r--src/any.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/any.gleam b/src/any.gleam
index 05a789b..7721ad8 100644
--- a/src/any.gleam
+++ b/src/any.gleam
@@ -9,7 +9,7 @@ pub external type Any
doc """
Convert any Gleam data into `Any` data.
"""
-pub external fn new(a) -> Any = 'gleam_foreign' 'identity'
+pub external fn from(a) -> Any = 'gleam_foreign' 'identity'
doc """
Unsafely cast any type into any other type.o