aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gleam/bit_builder.gleam2
-rw-r--r--src/gleam/string_builder.gleam2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gleam/bit_builder.gleam b/src/gleam/bit_builder.gleam
index 2a7d435..960d665 100644
--- a/src/gleam/bit_builder.gleam
+++ b/src/gleam/bit_builder.gleam
@@ -179,7 +179,7 @@ pub fn from_string_builder(builder: StringBuilder) -> BitBuilder {
if erlang {
external fn do_from_string_builder(StringBuilder) -> BitBuilder =
- "gleam_stdlib" "identity"
+ "gleam_stdlib" "wrap_list"
}
if javascript {
diff --git a/src/gleam/string_builder.gleam b/src/gleam/string_builder.gleam
index f1dfb30..616da74 100644
--- a/src/gleam/string_builder.gleam
+++ b/src/gleam/string_builder.gleam
@@ -9,7 +9,7 @@
/// using minimal memory, and then can be efficiently converted to a string
/// using the `to_string` function.
///
-/// On Erlang this type is compatible with Erlang's iolists. On JavaScript this
+/// On Erlang this type is compatible with Erlang's iodata. On JavaScript this
/// type is compatible with normal strings.
///
pub external type StringBuilder