We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5899edd commit dd95372Copy full SHA for dd95372
docs/docs/reference/contextual/context-functions.md
@@ -123,7 +123,7 @@ object PostConditions {
123
124
def result[T](using r: WrappedResult[T]): T = r
125
126
- def (x: T).ensuring[T](condition: WrappedResult[T] ?=> Boolean): T = {
+ def [T] (x: T).ensuring(condition: WrappedResult[T] ?=> Boolean): T = {
127
assert(condition(using x))
128
x
129
}
0 commit comments