Skip to content

Commit 1c7c5bb

Browse files
committed
Fix edoc
1 parent 0d15c7f commit 1c7c5bb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/ktn_dodger.erl

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -993,13 +993,9 @@ fix_contiguous_strings([Other|Rest], Ts) ->
993993

994994
no_fix(_) -> no_fix.
995995

996-
%% @spec tokens_to_string(Tokens::[term()]) -> string()
997996
%%
998997
%% @doc Generates a string corresponding to the given token sequence.
999998
%% The string can be re-tokenized to yield the same token list again.
1000-
1001-
-spec tokens_to_string([term()]) -> string().
1002-
1003999
token_to_string(T) ->
10041000
case erl_scan:text(T) of
10051001
undefined ->
@@ -1017,6 +1013,7 @@ token_to_string(var, A) -> atom_to_list(A);
10171013
token_to_string(dot, dot) -> ".\n";
10181014
token_to_string(Same, Same) -> atom_to_list(Same).
10191015

1016+
-spec tokens_to_string([term()]) -> string().
10201017
tokens_to_string([T | Ts]) ->
10211018
token_to_string(T) ++ maybe_space(erl_scan:category(T), Ts) ++ tokens_to_string(Ts);
10221019
tokens_to_string([]) ->

0 commit comments

Comments
 (0)