소스 검색

Doc: fix example in Array sort_custom()

Damien Picard 7 년 전
부모
커밋
5e8e216ee0
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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")