Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Conversation

@febo
Copy link
Owner

@febo febo commented Jan 16, 2025

This PR restructures the code so that there are no potential immutable borrows to an account after a mutable one happens.

Note

The code did not use to "write" to an account from a mutable reference and then "read" from an immutable one afterwards, so references were not on an invalid state. If the changes on this PR affect the readability of the code, they are not strictly require.

@febo febo changed the title Scope account borrow Use scoped account borrows Jan 17, 2025
@febo febo marked this pull request as ready for review January 17, 2025 11:33
@febo
Copy link
Owner Author

febo commented Jan 23, 2025

Closed in favour of #8

@febo febo closed this Jan 23, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants