Skip to content

Commit 6a47624

Browse files
author
Ikko Ashimine
authored
Fix typo in self-types.md
Add 'な'
1 parent acf286d commit 6a47624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_ja/tour/self-types.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ class VerifiedTweeter(val username_ : String) extends Tweeter with User { // Tw
3838
val realBeyoncé = new VerifiedTweeter("Beyoncé")
3939
realBeyoncé.tweet("Just spilled my glass of lemonade") // "real Beyoncé: Just spilled my glass of lemonade"と出力します。
4040
```
41-
`trait Tweeter`の中で`this: User =>`と記述したので、今は変数`username``tweet`メソッドのスコープ内にあります。これはさらに、`VerifiedTweeter``Tweeter`を継承する際、(`with User`を使って)`User`もミックスインしなければならいことを意味します
41+
`trait Tweeter`の中で`this: User =>`と記述したので、今は変数`username``tweet`メソッドのスコープ内にあります。これはさらに、`VerifiedTweeter``Tweeter`を継承する際、(`with User`を使って)`User`もミックスインしなければならないことを意味します

0 commit comments

Comments
 (0)