From b9f1047d366e255459b339f20f7ce408313b3186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Catalinas=20Jim=C3=A9nez?= Date: Sun, 5 Feb 2012 01:13:27 +0100 Subject: Fix the type spec from the doc of binary:part/3 As the doc explains, the Len of part() can be negative. --- lib/stdlib/doc/src/binary.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/stdlib/doc') diff --git a/lib/stdlib/doc/src/binary.xml b/lib/stdlib/doc/src/binary.xml index 88ce77e0d0..7ce2defb72 100644 --- a/lib/stdlib/doc/src/binary.xml +++ b/lib/stdlib/doc/src/binary.xml @@ -505,7 +505,7 @@ Subject = binary() Pos = integer() >= 0 - Len = integer() >= 0 + Len = integer()

The same as part(Subject, {Pos, Len}).

-- cgit v1.2.3