Skip to content
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

Fix: rm usage of undefined function "remove" #656

Closed
wants to merge 1 commit into from

Conversation

jinyus
Copy link
Contributor

@jinyus jinyus commented Nov 16, 2023

It looks like the docs referenced a function that has been deprecated/removed. I replaced it with remove_file from std.fs.path.

let _ = remove(file.path)

@yorickpeterse
Copy link
Collaborator

@jinyus You're right, I forget to update that when the various file methods were moved around a while back. Thanks 😃

@yorickpeterse
Copy link
Collaborator

I merged this into 9e4f82b and added the changelog tag. Thanks! 🎉

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.

2 participants