Skip to content

Commit

Permalink
Merge pull request #37 from samuelrivas/doc-fixes
Browse files Browse the repository at this point in the history
avoid ugly line break in documentation line
  • Loading branch information
kostis committed Apr 22, 2012
2 parents 76f016d + a9ad974 commit deeb575
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/proper_types.erl
Expand Up @@ -1185,8 +1185,9 @@ resize(NewSize, RawType) ->
end.

%% @doc This is a predefined constraint that can be applied to random-length
%% list and binary types (e.g. {@link list/0}, {@link string/0},
%% {@link binary/0}) to ensure that the produced values are never empty.
%% list and binary types to ensure that the produced values are never empty.
%%
%% e.g. {@link list/0}, {@link string/0}, {@link binary/0})
-spec non_empty(ListType::raw_type()) -> proper_types:type().
non_empty(RawListType) ->
?SUCHTHAT(L, RawListType, L =/= [] andalso L =/= <<>>).
Expand Down

0 comments on commit deeb575

Please sign in to comment.