aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gleam/io.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gleam/io.gleam b/src/gleam/io.gleam
index 86ca2c5..baa0bdb 100644
--- a/src/gleam/io.gleam
+++ b/src/gleam/io.gleam
@@ -16,7 +16,7 @@ pub fn print(string: String) -> Nil {
if erlang {
fn do_print(string: String) -> Nil {
- erl_print(string, [])
+ erl_print("~s", [string])
Nil
}
}