Skip to content

Commit

Permalink
Remove unneeded
Browse files Browse the repository at this point in the history
  • Loading branch information
lpil committed Oct 26, 2023
1 parent 5785c66 commit d55bfcb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/gleam/string.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -900,10 +900,6 @@ fn do_inspect(term term: anything) -> StringBuilder
/// This function runs in constant time on Erlang and in linear time on
/// JavaScript.
///
pub fn byte_size(string: String) -> Int {
do_byte_size(string)
}

@external(erlang, "erlang", "byte_size")
@external(javascript, "../gleam_stdlib.mjs", "byte_size")
fn do_byte_size(a: String) -> Int
pub fn byte_size(string: String) -> Int

0 comments on commit d55bfcb

Please sign in to comment.