Author: lwall
Date: 2008-12-28 04:36:24 +0100 (Sun, 28 Dec 2008)
New Revision: 24658

Modified:
   docs/Perl6/Spec/S02-bits.pod
Log:
[Spec] remove fossil typecast noticed by masak++


Modified: docs/Perl6/Spec/S02-bits.pod
===================================================================
--- docs/Perl6/Spec/S02-bits.pod        2008-12-28 03:30:13 UTC (rev 24657)
+++ docs/Perl6/Spec/S02-bits.pod        2008-12-28 03:36:24 UTC (rev 24658)
@@ -704,7 +704,7 @@
 scoped Unicode abstraction level.  (Which defaults to graphemes.)
 Otherwise you'll need to coerce to the proper units:
 
-    substr($string, 42.as(Bytes), 1.as(ArabicChars))
+    substr($string, Bytes(42), ArabicChars(1))
 
 Of course, such a dimensional number will fail if used on a string
 that doesn't provide the appropriate abstraction level.

Reply via email to