[Swift-commit] r7683 - branches/release-0.94/docs/userguide

yadunandb at ci.uchicago.edu yadunandb at ci.uchicago.edu
Mon Mar 10 13:47:06 CDT 2014


Author: yadunandb
Date: 2014-03-10 13:47:06 -0500 (Mon, 10 Mar 2014)
New Revision: 7683

Modified:
   branches/release-0.94/docs/userguide/language
Log:
Doc update to correct the usage from append function to append operator <<

Modified: branches/release-0.94/docs/userguide/language
===================================================================
--- branches/release-0.94/docs/userguide/language	2014-03-10 18:45:27 UTC (rev 7682)
+++ branches/release-0.94/docs/userguide/language	2014-03-10 18:47:06 UTC (rev 7683)
@@ -209,7 +209,7 @@
 int[auto] array;
 
 foreach i in [1:100] {
-  append(array, i * 2);
+   array << (i*2)
 }
 
 foreach v in array {




More information about the Swift-commit mailing list