Skip to content

Make using the stdio handles require a mutable ref#240

Merged
GabrielMajeri merged 2 commits intomasterfrom
borrow-stdio-handles-mut
Jun 12, 2021
Merged

Make using the stdio handles require a mutable ref#240
GabrielMajeri merged 2 commits intomasterfrom
borrow-stdio-handles-mut

Conversation

@GabrielMajeri
Copy link
Collaborator

Updates the system table's stdin/stdout/stderr methods require a &mut reference.

Fixes #239

Copy link
Member

@toku-sa-n toku-sa-n 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 fixing this. I think this solves the problem. I added comments for the styling issue.

@GabrielMajeri GabrielMajeri merged commit 80ea650 into master Jun 12, 2021
@GabrielMajeri GabrielMajeri deleted the borrow-stdio-handles-mut branch June 12, 2021 11:26
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.

std(in|out|err) methods can create multiple mutable references to the same object

2 participants

Comments