Skip to content

Commit 2d6c5b3

Browse files
authored
Fix doc comment (#633)
1 parent c8da72a commit 2d6c5b3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/SnapshotTesting/Snapshotting/CALayer.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ extension Snapshotting where Value == CALayer, Format == UIImage {
3434

3535
/// A snapshot strategy for comparing layers based on pixel equality.
3636
///
37-
/// - Parameter precision: The percentage of pixels that must match.
37+
/// - Parameters:
38+
/// - precision: The percentage of pixels that must match.
39+
/// - traits: A trait collection override.
3840
public static func image(precision: Float = 1, traits: UITraitCollection = .init())
3941
-> Snapshotting {
4042
return SimplySnapshotting.image(precision: precision, scale: traits.displayScale).pullback { layer in

0 commit comments

Comments
 (0)