We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89cfdde commit d53882aCopy full SHA for d53882a
FirebaseAI/Sources/PartsRepresentable.swift
@@ -30,6 +30,8 @@ public extension Part {
30
/// Enable an `Array` of ``PartsRepresentable`` values to be passed in as a single
31
/// ``PartsRepresentable``.
32
extension [PartsRepresentable]: PartsRepresentable {
33
+ // Note: this is written as Array<T> instead of [T] because
34
+ // devsite doesn't like it when a toc title begins with [].
35
public var partsValue: [any Part] {
36
return flatMap { $0.partsValue }
37
}
0 commit comments