From 0bb78f81c9077afcc67df5fa11e5bcb3cfa33e6a Mon Sep 17 00:00:00 2001 From: Giacomo Cavalieri Date: Sun, 31 Dec 2023 20:53:41 +0100 Subject: bit_array doc examples --- src/gleam/bit_array.gleam | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gleam/bit_array.gleam b/src/gleam/bit_array.gleam index 79860e9..1a94679 100644 --- a/src/gleam/bit_array.gleam +++ b/src/gleam/bit_array.gleam @@ -19,8 +19,8 @@ pub fn byte_size(x: BitArray) -> Int /// ## Examples /// /// ```gleam -/// > append(to: from_string("butter"), suffix: from_string("fly")) -/// from_string("butterfly") +/// append(to: from_string("butter"), suffix: from_string("fly")) +/// // -> from_string("butterfly") /// ``` /// pub fn append(to first: BitArray, suffix second: BitArray) -> BitArray { @@ -95,8 +95,8 @@ fn do_to_string(a: BitArray) -> Result(String, Nil) /// ## Examples /// /// ```gleam -/// > concat([from_string("butter"), from_string("fly")]) -/// from_string("butterfly") +/// concat([from_string("butter"), from_string("fly")]) +/// // -> from_string("butterfly") /// ``` /// @external(erlang, "gleam_stdlib", "bit_array_concat") -- cgit v1.2.3