Skip to content

Fix status to Result conversions #389

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
Mar 15, 2022

Conversation

nicholasbishop
Copy link
Member

Following the changes in #360, warning status were supposed to be treated as errors when converted to Results. But instead they were incorrectly being converted to Result::Ok. Fix that, and add a new unit test for that case.

Following the changes in
rust-osdev#360, warning status were
supposed to be treated as errors when converted to `Result`s. But
instead they were incorrectly being converted to `Result::Ok`. Fix that,
and add a new unit test for that case.
@nicholasbishop
Copy link
Member Author

I missed this rather important conversion bug in #361! 😳

@GabrielMajeri
Copy link
Collaborator

Oops, good catch. I guess it's a good thing we didn't rush with the new release :))

@GabrielMajeri GabrielMajeri merged commit c55ac55 into rust-osdev:main Mar 15, 2022
@nicholasbishop nicholasbishop deleted the bishop-fix-warnings branch March 16, 2022 03:13
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