Remove dead code

This commit is contained in:
Paulo F. Oliveira 2021-03-25 00:02:53 +00:00
parent d9874feccf
commit 0a4fde35e7
2 changed files with 1 additions and 4 deletions

View file

@ -97,8 +97,7 @@ parse_tags(Pattern) ->
-ifdef(unicode_str).
len(Str) -> string:length(Str).
trim(Str, right, Chars) -> string:trim(Str, trailing, Chars);
trim(Str, left, Chars) -> string:trim(Str, leading, Chars);
trim(Str, both, Chars) -> string:trim(Str, both, Chars).
trim(Str, left, Chars) -> string:trim(Str, leading, Chars).
slice(Str, Len) -> string:slice(Str, Len).
-else.
len(Str) -> string:len(Str).

View file

@ -199,8 +199,6 @@ get_string(String) ->
-ifdef(unicode_str).
trim(Str) -> string:trim(Str).
trim(Str, right, Chars) -> string:trim(Str, trailing, Chars);
trim(Str, left, Chars) -> string:trim(Str, leading, Chars);
trim(Str, both, Chars) -> string:trim(Str, both, Chars).
-else.
trim(Str) -> string:strip(Str).