From 50996108a281ada7ddf1d3c7e3c777ebde0b3de1 Mon Sep 17 00:00:00 2001 From: hxperl Date: Tue, 15 Sep 2026 10:42:11 +0900 Subject: [PATCH] Name the parameter the memoizedExpression initializers actually take The callout said 'expression', which is the name on the initializer above, so DocC bound nothing and dropped the description. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01GuW8Eie2iuc8mqnqZaCLWR --- Sources/Nimble/AsyncExpression.swift | 2 +- Sources/Nimble/Expression.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Nimble/AsyncExpression.swift b/Sources/Nimble/AsyncExpression.swift index b669d5a0b..f50fc37fb 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 1bab44fc6..2b1b27dd5 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