mix format run

master
Rachel Fae Fox 2022-11-10 10:33:36 -05:00
parent ca07be9b86
commit dd072964ae
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ defmodule Discordirc.ByteSplit do
@doc """
split a string into a number `bytes`, optionally subtracting a number of `hold` bytes for prefix/suffix
"""
def byte_split(str, bytes, hold \\ 0) do
case byte_size(str) do
n when is_integer(n) and n > bytes ->