From 4998f619855df3accd6d6409a42c0cc300148a48 Mon Sep 17 00:00:00 2001 From: Dongxu Wang Date: Tue, 11 Jun 2019 12:22:24 +0800 Subject: [PATCH] Fix issue#1363, remove - and space within defined. --- glossary/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glossary/index.md b/glossary/index.md index 3b638f3a46..ba2382b2ac 100644 --- a/glossary/index.md +++ b/glossary/index.md @@ -216,7 +216,7 @@ In Scala, every _operation_ is a method call. Methods may be invoked in _operato Functions may take zero to many _parameters_. Each parameter has a name and a type. The distinction between parameters and arguments is that arguments refer to the actual objects passed when a function is invoked. Parameters are the variables that refer to those passed arguments. * #### parameterless function -A function that takes no parameters, which is de- fined without any empty parentheses. Invocations of parameterless functions may not supply parentheses. This supports the [uniform access principle](#uniform-access-principle), which enables the `def` to be changed into a `val` without requiring a change to client code. +A function that takes no parameters, which is defined without any empty parentheses. Invocations of parameterless functions may not supply parentheses. This supports the [uniform access principle](#uniform-access-principle), which enables the `def` to be changed into a `val` without requiring a change to client code. * #### parameterless method A _parameterless method_ is a parameterless function that is a member of a class, trait, or singleton object.