8000 fix typos · SamSoldatenko/docs.scala-lang@83ea10c · GitHub
[go: up one dir, main page]

Skip to content

Commit 83ea10c

Browse files
committed
fix typos
1 parent 198cd0d commit 83ea10c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_overviews/scala3-book/packaging-imports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ package users:
5757
class NormalUser // the full name of this class is users.normalusers.NormalUser
5858
```
5959

60-
Note that the package names are followed by a colon, and that the defininitions within
60+
Note that the package names are followed by a colon, and that the definitions within
6161
a package are indented.
6262

6363
The advantages of this approach are that it allows for package nesting, and provides more obvious control of scope and encapsulation, especially within the same file.

_scala3-reference/other-new-features/transparent-traits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ appear in the inferred type.
4444

4545
The traits `scala.Product`, `java.lang.Serializable` and `java.lang.Comparable`
4646
are treated automatically as transparent. Other traits are turned into transparent traits using the modifier `transparent`. Scala 2 traits can also be made transparent
47-
by adding a [`@transparentTrait` annotation](https://scala-lang.org/api/3.x/scala/annotation/transparentTrait.html). This annotation is defined in `scala.annotation`. It will be deprecated and phased out once Scala 2/3 interopability is no longer needed.
47+
by adding a [`@transparentTrait` annotation](https://scala-lang.org/api/3.x/scala/annotation/transparentTrait.html). This annotation is defined in `scala.annotation`. It will be deprecated and phased out once Scala 2/3 interoperability is no longer needed.
4848

4949
Typically, transparent traits are traits
5050
that influence the implementation of inheriting classes and traits that are not usually used as types by themselves. Two examples from the standard collection library are:

0 commit comments

Comments
 (0)
0