Skip to content

Commit 486d706

Browse files
authored
Merge pull request #1370 from dongxuwang/fix4-1368
Fix#1368, fill a word for the syntax correctness.
2 parents 4766e9b + 7a3d45d commit 486d706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

glossary/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ A property of functions that are independent of temporal context and have no sid
267267
A variable in a running Scala program always _refers_ to some object. Even if that variable is assigned to `null`, it conceptually refers to the `Null` object. At runtime, an object may be implemented by a Java object or a value of a primitive type, but Scala allows programmers to think at a higher level of abstraction about their code as they imagine it running. See also [reference](#reference).
268268

269269
* #### refinement type
270-
A type formed by supplying a base type a number of members inside curly braces. The members in the curly braces refine the types that are present in the base type. For example, the type of “animal that eats grass” is `Animal { type SuitableFood = Grass }`.
270+
A type formed by supplying a base type with a number of members inside curly braces. The members in the curly braces refine the types that are present in the base type. For example, the type of “animal that eats grass” is `Animal { type SuitableFood = Grass }`.
271271

272272
* #### result
273273
An expression in a Scala program yields a _result_. The result of every expression in Scala is an object.

0 commit comments

Comments
 (0)