Skip to content

std.fs.Dir: Make Dir.close not take a pointer #21582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

gooncreeper
Copy link
Contributor

This is the only Dir function that requires a pointer and it is not necessary. This is also in line with File.close.

This is the only Dir function that requires a pointer and it is not
necessary. This is also in line with File.close.
@Vexu
Copy link
Member

Vexu commented Oct 3, 2024

Previous discussion in #10213, #9814

@rohlem
Copy link
Contributor

rohlem commented Oct 4, 2024

The newest comment regarding this seems to be #10214 (comment) ,
basically it was currently undecided and not considered a priority.

@andrewrk
Copy link
Member

andrewrk commented Oct 4, 2024

Please discuss on #9814. When that issue reaches a resolution, then it will be time to make a PR. If I merge now, there is danger of 2x the API breakage.

@andrewrk andrewrk closed this Oct 4, 2024
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.

4 participants