Skip to content

Commit 3be9890

Browse files
Merge pull request #859 from ayurchuk/fix_code_block_style
Fix code style by removing `:fail` from lower-type-bounds.md
2 parents cecc80c + d53fe3f commit 3be9890

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_tour/lower-type-bounds.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ While [upper type bounds](upper-type-bounds.html) limit a type to a subtype of a
1818

1919
Here is an example where this is useful:
2020

21-
```tut:fail
21+
```tut
2222
trait Node[+B] {
2323
def prepend(elem: B): Unit
2424
}

_tour/self-types.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ trait User {
2424
}
2525
2626
trait Tweeter {
27-
this: User => // reassign this
28-
def tweet(tweetText: String) = println(s"$username: $tweetText")
27+
this: User => // reassign this
28+
def tweet(tweetText: String) = println(s"$username: $tweetText")
2929
}
3030
3131
class VerifiedTweeter(val username_ : String) extends Tweeter with User { // We mixin User because Tweeter required it
32-
def username = s"real $username_"
32+
def username = s"real $username_"
3333
}
3434
3535
val realBeyoncé = new VerifiedTweeter("Beyoncé")

0 commit comments

Comments
 (0)