diff --git a/Sources/Nimble/AsyncExpression.swift b/Sources/Nimble/AsyncExpression.swift index b669d5a0..f50fc37f 100644 --- a/Sources/Nimble/AsyncExpression.swift +++ b/Sources/Nimble/AsyncExpression.swift @@ -48,7 +48,7 @@ public struct AsyncExpression { /// Creates a new expression struct. Normally, expect(...) will manage this /// creation process. /// - /// - Parameter expression: The closure that produces a given value. + /// - Parameter memoizedExpression: The closure that produces a given value. /// - Parameter location: The source location that this closure originates from. /// - Parameter withoutCaching: Indicates if the struct should memoize the given /// closure's result. Subsequent evaluate() calls will diff --git a/Sources/Nimble/Expression.swift b/Sources/Nimble/Expression.swift index 1bab44fc..2b1b27dd 100644 --- a/Sources/Nimble/Expression.swift +++ b/Sources/Nimble/Expression.swift @@ -48,7 +48,7 @@ public struct Expression { /// Creates a new expression struct. Normally, expect(...) will manage this /// creation process. /// - /// - Parameter expression: The closure that produces a given value. + /// - Parameter memoizedExpression: The closure that produces a given value. /// - Parameter location: The source location that this closure originates from. /// - Parameter withoutCaching: Indicates if the struct should memoize the given /// closure's result. Subsequent evaluate() calls will