Skip to content

Commit a90d395

Browse files
authored
Merge pull request #1254 from benjaminran/patch-1
use correct package name in package object docs
2 parents 47dd596 + 2e4b604 commit a90d395

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/package-objects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ object Plum extends Fruit("Plum", "blue")
3737
object Banana extends Fruit("Banana", "yellow")
3838
```
3939

40-
Now assume you want to place a variable `planted` and a method `showFruit` directly into package `gardening`.
40+
Now assume you want to place a variable `planted` and a method `showFruit` directly into package `gardening.fruits`.
4141
Here's how this is done:
4242

4343
```

0 commit comments

Comments
 (0)