瀏覽代碼

Minor spelling fix

msakuta 9 年之前
父節點
當前提交
15e2c23eea
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      doc/source/reference/language/functions.rst

+ 1 - 1
doc/source/reference/language/functions.rst

@@ -196,7 +196,7 @@ Lambda Expressions
 
     exp := '@' '(' paramlist ')' exp
 
-Lambda expressions are a synctactic sugar to quickly define a function that consists of a single expression.
+Lambda expressions are a syntactic sugar to quickly define a function that consists of a single expression.
 This feature comes handy when functional programming patterns are applied, like map/reduce or passing a compare method to
 array.sort().