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

Change Star::write() to use checked subtractions #422

Merged
merged 2 commits into from
Jun 11, 2023

Conversation

mbeepo
Copy link
Contributor

@mbeepo mbeepo commented May 15, 2023

I did a little goof and used the wrong numbers in my own project while using this and instead of a more relevant error I got one for overflow from subtraction and had to look at the source code, so this fixes that.

Copy link
Member

@Freax13 Freax13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

Sorry for the long delay! This looks good to me!

@Freax13 Freax13 merged commit 486c2a4 into rust-osdev:master Jun 11, 2023
@Freax13 Freax13 mentioned this pull request Sep 15, 2023
@Freax13 Freax13 mentioned this pull request Jan 14, 2024
4 tasks
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