Remove obsolete msgmut::or_default()

PiperOrigin-RevId: 633997832
pull/16856/head
Protobuf Team Bot 6 months ago committed by Copybara-Service
parent 05781615a1
commit 5fdef5bfce
  1. 3
      src/google/protobuf/compiler/rust/message.cc

@ -1000,9 +1000,6 @@ void GenerateRs(Context& ctx, const Descriptor& msg) {
Self{ inner: $pbr$::MutatorMessageRef::new(_private, msg) } Self{ inner: $pbr$::MutatorMessageRef::new(_private, msg) }
} }
#[deprecated = "This .or_default() is a no-op, usages can be safely removed"]
pub fn or_default(self) -> Self { self }
fn raw_msg(&self) -> $pbr$::RawMessage { fn raw_msg(&self) -> $pbr$::RawMessage {
self.inner.msg() self.inner.msg()
} }

Loading…
Cancel
Save