Skip to content

Commit

Permalink
Update package
Browse files Browse the repository at this point in the history
  • Loading branch information
vmanot committed Mar 10, 2024
1 parent f59603d commit 9eae05b
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,20 +244,20 @@ extension PromptLiteral {
stringInterpolation.appendInterpolation(other)
}

public func appending(_ other: any PromptLiteralConvertible) -> Self {
with(self) {
$0.append(other)
}
consuming func appending(_ other: any PromptLiteralConvertible) -> Self {
self.append(other)

return self
}

public mutating func append(contentsOf other: PromptLiteral) {
stringInterpolation.appendInterpolation(other)
}

public func appending(contentsOf other: PromptLiteral) -> Self {
with(self) {
$0.append(contentsOf: other)
}
consuming func appending(contentsOf other: PromptLiteral) -> Self {
self.append(contentsOf: other)

return self
}
}

Expand Down

0 comments on commit 9eae05b

Please sign in to comment.