From dc338c23b29cd957d5517befda3e97286ca8dd52 Mon Sep 17 00:00:00 2001 From: Peter Saxton Date: Thu, 28 May 2020 16:45:41 +0100 Subject: format again --- src/gleam/binary.gleam | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/gleam/binary.gleam b/src/gleam/binary.gleam index c36b941..79158a4 100644 --- a/src/gleam/binary.gleam +++ b/src/gleam/binary.gleam @@ -9,14 +9,18 @@ pub external fn from_string(String) -> Binary = /// Returns an integer which is the number of bytes in the binary. pub external fn byte_size(Binary) -> Int = -"erlang" "byte_size" + "erlang" "byte_size" /// Extracts the part of a binary. /// /// Binary part will start at given position and continue up to specified length. /// A negative length can be used to extract bytes at the end of a binary: -pub external fn part(string: Binary, position: Int, length: Int) -> Result(Binary, Nil) = -"binary_native" "part" +pub external fn part( + string: Binary, + position: Int, + length: Int, +) -> Result(Binary, Nil) = + "binary_native" "part" /// Convert integer to unsigned 32 bits. /// -- cgit v1.2.3