Skip to content

Commit f288507

Browse files
authored
fix PhoneType generated example, add link to basic example (#1604)
1 parent deaa7c1 commit f288507

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/main/markdown/getting-started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Protocol buffers are the flexible, efficient, automated solution to solve exactl
3030
## Where to Find the Example Code
3131

3232
The example code for this tutorial is under the `examples/basic` directory
33-
in ScalaPB's repo. To get your copy:
33+
in [ScalaPB's repo](https://github.com/scalapb/ScalaPB/tree/master/examples/basic). To get your copy:
3434

3535
```bash
3636
git clone https://github.com/scalapb/ScalaPB.git
@@ -135,7 +135,7 @@ object PhoneType {
135135
case object HOME extends PhoneType(1) {
136136
val index = 1
137137
val name = "HOME"
138-
override def isMobile: Boolean = true
138+
override def isHome: Boolean = true
139139
}
140140

141141
// ...

0 commit comments

Comments
 (0)