Permalink
Browse files

Merge pull request #37 from samuelrivas/doc-fixes

avoid ugly line break in documentation line
  • Loading branch information...
2 parents 76f016d + a9ad974 commit deeb5755e302e3888a700798eefafb1b0b87d2f5 @kostis kostis committed Apr 22, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/proper_types.erl
View
@@ -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 =/= <<>>).

0 comments on commit deeb575

Please sign in to comment.