Explorar o código

Doc: fix example in Array sort_custom()

Damien Picard %!s(int64=7) %!d(string=hai) anos
pai
achega
5e8e216ee0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      doc/classes/Array.xml

+ 1 - 1
doc/classes/Array.xml

@@ -321,7 +321,7 @@
 				    static func sort(a, b):
 				        if a[0] < b[0]:
 				            return true
-				    return false
+				        return false
 
 				var my_items = [[5, "Potato"], [9, "Rice"], [4, "Tomato"]]
 				my_items.sort_custom(MyCustomSorter, "sort")