Skip to content

Commit ee1736d

Browse files
committed
Fix typo in comment
1 parent f4379f5 commit ee1736d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Overlays/_Testing_CoreGraphics/Attachments/AttachableImageFormat+UTType.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ extension AttachableImageFormat {
8787
/// If the target image format does not support variable-quality encoding,
8888
/// the value of the `encodingQuality` argument is ignored.
8989
///
90-
/// If `imageFormat` is not `nil` and does not conform to [`UTType.image`](https://developer.apple.com/documentation/uniformtypeidentifiers/uttype-swift.struct/image),
90+
/// If `contentType` does not conform to [`UTType.image`](https://developer.apple.com/documentation/uniformtypeidentifiers/uttype-swift.struct/image),
9191
/// the result is undefined.
9292
public init(_ contentType: UTType, encodingQuality: Float = 1.0) {
9393
precondition(

0 commit comments

Comments
 (0)