diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/11-annotations.md | 2 | ||||
-rw-r--r-- | spec/15-changelog.md | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/11-annotations.md b/spec/11-annotations.md index d66f24abf8..e54a0dd2b0 100644 --- a/spec/11-annotations.md +++ b/spec/11-annotations.md @@ -94,7 +94,7 @@ Java platform, the following annotations have a standard meaning. * `@deprecatedName(name: <symbollit>)`<br/> Marks a formal parameter name as deprecated. Invocations of this entity - using named parameter syntax refering to the deprecated parameter name cause a deprecation warning. + using named parameter syntax referring to the deprecated parameter name cause a deprecation warning. ### Scala Compiler Annotations diff --git a/spec/15-changelog.md b/spec/15-changelog.md index 751a571ecc..c88408682b 100644 --- a/spec/15-changelog.md +++ b/spec/15-changelog.md @@ -441,7 +441,7 @@ In the example, `Twice` is an extractor object with two methods: - The `unapply` method is used to decompose an even number; it is in a sense the reverse of `apply`. `unapply` methods return option types: - `Some(...)` for a match that suceeds, `None` for a match that fails. + `Some(...)` for a match that succeeds, `None` for a match that fails. Pattern variables are returned as the elements of `Some`. If there are several variables, they are grouped in a tuple. @@ -532,7 +532,7 @@ In particular, one can now simulate package protected access as in Java writing where would name the package containing `X`. -#### Relaxation of Private Acess +#### Relaxation of Private Access [Private members of a class](05-classes-and-objects.html#private) can now be referenced from the companion module of the class and vice versa. |