Skip to content

remove compiler warnings #3125

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

Merged
merged 1 commit into from
Sep 24, 2021
Merged

remove compiler warnings #3125

merged 1 commit into from
Sep 24, 2021

Conversation

youknowone
Copy link
Member

No description provided.

@Snowapril
Copy link
Contributor

Could you modify one more line 359 in nt.rs? Below code cause clippy warning in window platform

fn _getdiskusage(path: PyPathLike, vm: &VirtualMachine) -> PyResult<(u64, u64)> {
    ...
    return Err(err.into_pyexception(vm)); // shoudl remove return and ; 
}

I think rather than creating a separate PR, handling this issue in this PR might be correct 😊

@youknowone
Copy link
Member Author

Thank you! I think I didn't finish rebase well after your clippy work

@youknowone youknowone merged commit 6e908de into RustPython:main Sep 24, 2021
@youknowone youknowone deleted the dewarnings branch September 24, 2021 11:05
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