Skip to content

Commit 5d0b7bb

Browse files
committed
💡: modify some comments
1 parent a1f8c54 commit 5d0b7bb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • hooks/src/commonMain/kotlin/xyz/junerver/compose/hooks

hooks/src/commonMain/kotlin/xyz/junerver/compose/hooks/types.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,6 @@ operator fun <T> SetValueFn<SetterEither<T>>.invoke(leftValue: T) = this(leftVal
129129
operator fun <T> SetValueFn<SetterEither<T>>.invoke(rightValue: (T) -> T) = this(rightValue.right())
130130

131131
/**
132-
* 退化函数调用,将[SetValueFn<SetterEither<T>>]转换为[SetValueFn<T>],方便使用
132+
* 退化函数调用,将`SetValueFn<SetterEither<T>>`转换为`SetValueFn<T>`,方便使用
133133
*/
134134
fun <T> SetValueFn<SetterEither<T>>.left(): SetValueFn<T> = { leftValue -> this(leftValue.left()) }

0 commit comments

Comments
 (0)