Skip to content

Commit dd95372

Browse files
authored
doc(context-fun): move type param infront
1 parent 5899edd commit dd95372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/reference/contextual/context-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ object PostConditions {
123123

124124
def result[T](using r: WrappedResult[T]): T = r
125125

126-
def (x: T).ensuring[T](condition: WrappedResult[T] ?=> Boolean): T = {
126+
def [T] (x: T).ensuring(condition: WrappedResult[T] ?=> Boolean): T = {
127127
assert(condition(using x))
128128
x
129129
}

0 commit comments

Comments
 (0)