aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Foreign.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Foreign.gleam b/src/Foreign.gleam
index e2a40a2..66ff936 100644
--- a/src/Foreign.gleam
+++ b/src/Foreign.gleam
@@ -19,7 +19,7 @@ Unsafely cast any type into any other type.o
This is an escape hatch for the type system that may be useful when wrapping
native Erlang APIs. It is to be used as a last measure only.
"""
-pub external dangerouslyCoerce : fn(a) { b } = :"Gleam.Foreign" :identity
+pub external unsafeCoerce : fn(a) { b } = :"Gleam.Foreign" :identity
fn identity(x) {
x