Skip to content

Commit 32d5a61

Browse files
committed
remove deprecated MessageSize::plus_eq
1 parent 1f722ad commit 32d5a61

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

capnp/src/lib.rs

-7
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,6 @@ impl core::ops::AddAssign for MessageSize {
123123
}
124124
}
125125

126-
impl MessageSize {
127-
#[deprecated(since = "0.15.1", note = "use += (AddAssign::add_assign()) instead")]
128-
pub fn plus_eq(&mut self, other: Self) {
129-
*self += other;
130-
}
131-
}
132-
133126
/// An enum value or union discriminant that was not found among those defined in a schema.
134127
#[derive(PartialEq, Clone, Copy, Debug)]
135128
pub struct NotInSchema(pub u16);

0 commit comments

Comments
 (0)