Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion FirebaseAI/Sources/PartsRepresentable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public extension Part {

/// Enable an `Array` of ``PartsRepresentable`` values to be passed in as a single
/// ``PartsRepresentable``.
extension [PartsRepresentable]: PartsRepresentable {
// swiftformat:disable:next typeSugar
extension Array<PartsRepresentable>: PartsRepresentable {
// Note: this is written as Array<T> instead of [T] because
// devsite doesn't like it when a toc title begins with [].
public var partsValue: [any Part] {
Expand Down
Loading