Skip to content

Fix status to Result conversions - #389

Merged
GabrielMajeri merged 1 commit into
rust-osdev:mainfrom
nicholasbishop:bishop-fix-warnings
Mar 15, 2022
Merged

GabrielMajeri merged 1 commit into
rust-osdev:mainfrom
nicholasbishop:bishop-fix-warnings

Conversation

@nicholasbishop

Copy link
Copy Markdown
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
Copy Markdown
Member Author

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

@GabrielMajeri

Copy link
Copy Markdown
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