Pārlūkot izejas kodu

Fixed documentation, count is now a property and not a method.

Marco Bambini 8 gadi atpakaļ
vecāks
revīzija
ebf65c0b15
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      docs/functions.html

+ 1 - 1
docs/functions.html

@@ -146,7 +146,7 @@
 	// sum modified to accept a variable number of arguments
 	func sum() {
 		var tot = 0;
-		for (var i in 0..<_args.count()) {
+		for (var i in 0..<_args.count) {
 			tot += _args[i];
 		}
 		return tot;