Skip to content

Allow &Path in open_/save_image#1

Open
clonejo wants to merge 1 commit intotschinz:mainfrom
clonejo:asref
Open

Allow &Path in open_/save_image#1
clonejo wants to merge 1 commit intotschinz:mainfrom
clonejo:asref

Conversation

@clonejo
Copy link
Copy Markdown

@clonejo clonejo commented Mar 4, 2026

Since we don't modify the paths, we only need a reference, and the reference variant of PathBuf Path is sufficient.

AFAIU this change is non-breaking.

@clonejo
Copy link
Copy Markdown
Author

clonejo commented Mar 4, 2026

oh i just noticed save_image() is hiding errors if they occur. That should be up to the caller.

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