#[inline] add_assign in CrandallField (#252)

This commit is contained in:
Jakub Nabaglo 2021-09-19 10:03:57 -07:00 committed by GitHub
parent 92f5d39671
commit 5e748ed76b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,6 +224,7 @@ impl Add for CrandallField {
}
impl AddAssign for CrandallField {
#[inline]
fn add_assign(&mut self, rhs: Self) {
*self = *self + rhs;
}