[Swift-commit] r7684 - branches/release-0.95/docs/userguide

yadunandb at ci.uchicago.edu yadunandb at ci.uchicago.edu
Mon Mar 10 13:48:12 CDT 2014


Author: yadunandb
Date: 2014-03-10 13:48:12 -0500 (Mon, 10 Mar 2014)
New Revision: 7684

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

Modified: branches/release-0.95/docs/userguide/language
===================================================================
--- branches/release-0.95/docs/userguide/language	2014-03-10 18:47:06 UTC (rev 7683)
+++ branches/release-0.95/docs/userguide/language	2014-03-10 18:48:12 UTC (rev 7684)
@@ -207,7 +207,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