Skip to content

Commit 0fefc79

Browse files
valeriyvanniilohlin
authored andcommitted
Fix doc comment (pointfreeco#633)
1 parent 75159c0 commit 0fefc79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Sources/SnapshotTesting/Snapshotting/CALayer.swift

+3-1
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)