Skip to content

Commit

Permalink
Fixed _root_ package name
Browse files Browse the repository at this point in the history
Removed duplicated underscores.
  • Loading branch information
julienroubieu authored May 30, 2018
1 parent 06dd528 commit 7e9e43a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _tour/packages-and-imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ def sqrtplus1(x: Int) = {
sqrt(x) + 1.0
}
```
In the event there is a naming conflict and you need to import something from the root of the project, prefix the package name with `__root__`:
In the event there is a naming conflict and you need to import something from the root of the project, prefix the package name with `_root_`:
```
package accounts
import __root__.users._
import _root_.users._
```


Expand Down

0 comments on commit 7e9e43a

Please sign in to comment.