Skip to content

Minor cleanup: fix typo and remove stale TODO#514

Merged
davidbyttow merged 2 commits intomasterfrom
fix/minor-cleanup
Mar 6, 2026
Merged

Minor cleanup: fix typo and remove stale TODO#514
davidbyttow merged 2 commits intomasterfrom
fix/minor-cleanup

Conversation

@davidbyttow
Copy link
Owner

@davidbyttow davidbyttow commented Mar 6, 2026

Summary

  • Fix typo "checkes" -> "checks" in Scalar.IsZero doc comment
  • Remove stale TODO comment on PngExportParams.Profile (field kept for API compatibility)

Skipped removing ImageFields() wrapper since it's part of the public API.

Test plan

  • go build ./vips/

🤖 Generated with Claude Code

Note

Fix comment typo in vips.Scalar.IsZero and remove stale TODO from vips.PngExportParams.Profile to perform minor cleanup

Correct a comment typo in vips/math.go and remove an inline TODO from vips.PngExportParams.Profile in vips/image.go.

📍Where to Start

Start with the comment changes in vips/math.go, then review the vips.PngExportParams struct in vips/image.go.

Macroscope summarized cf3f52e.

davidbyttow and others added 2 commits March 5, 2026 15:59
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The field is part of the public API so it stays, but the TODO has been
open since the field was added and is unlikely to be implemented. Remove
the misleading comment.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@davidbyttow davidbyttow merged commit 462f386 into master Mar 6, 2026
2 of 3 checks passed
@davidbyttow davidbyttow deleted the fix/minor-cleanup branch March 6, 2026 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant