Skip to content

Change MsgMut's _mut() accessors to use (&mut self) instead of (&self)#15355

Merged
1 commit merged into
mainfrom
test_596933718
Jan 9, 2024
Merged

Change MsgMut's _mut() accessors to use (&mut self) instead of (&self)#15355
1 commit merged into
mainfrom
test_596933718

Conversation

@copybara-service

Copy link
Copy Markdown

Change MsgMut's _mut() accessors to use (&mut self) instead of (&self)

If this took a &self there were holes in thread and memory safety, because it's allowed to get multiple &MsgMuts (but only &mut MsgMuts).

If this took a &self there were holes in thread and memory safety, because it's allowed to get multiple &MsgMuts (but only &mut MsgMuts).

PiperOrigin-RevId: 596991263
@copybara-service copybara-service Bot closed this pull request by merging all changes into main in e5b547b Jan 9, 2024
@copybara-service copybara-service Bot deleted the test_596933718 branch January 9, 2024 19:19
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.

1 participant