Skip to content

Commit 01de0b4

Browse files
committed
Fix typos
1 parent 71e8412 commit 01de0b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/docs/reference/extend/extension-methods.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ object PostConditions {
161161
def result[T](implicit er: WrappedResult[T]): T = WrappedResult.unwrap(er)
162162

163163
extend (type T) {
164-
def ensuring[U](condition: implicit WrappedResult[T] => Boolean): T = {
164+
def ensuring(condition: implicit WrappedResult[T] => Boolean): T = {
165165
implicit val wrapped = WrappedResult.wrap(this)
166166
assert(condition)
167167
this

docs/docs/reference/extend/instance-declarations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ trait Eql[T] {
3838
}
3939

4040
trait HasEql[T] {
41-
def === (that: T)
41+
def === (that: T): Boolean
4242
}
4343
```
4444

0 commit comments

Comments
 (0)