From a9ad9744ea71595c54f0d14a68a2154cccc3f626 Mon Sep 17 00:00:00 2001 From: Samuel Rivas Date: Mon, 16 Apr 2012 22:13:39 +0200 Subject: [PATCH] avoid ugly line break in documentation line --- src/proper_types.erl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/proper_types.erl b/src/proper_types.erl index 3bf5cc96..a1868e09 100644 --- a/src/proper_types.erl +++ b/src/proper_types.erl @@ -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 =/= <<>>).