diff --git a/rust/cpp.rs b/rust/cpp.rs index 835726627a..09b8467641 100644 --- a/rust/cpp.rs +++ b/rust/cpp.rs @@ -103,18 +103,12 @@ impl Drop for Arena { /// /// This struct is ABI compatible with the equivalent struct on the C++ side. It /// owns (and drops) its data. -// copybara:strip_begin -// LINT.IfChange -// copybara:strip_end #[repr(C)] pub struct SerializedData { /// Owns the memory. data: NonNull<u8>, len: usize, } -// copybara:strip_begin -// LINT.ThenChange(//depot/google3/third_party/protobuf/rust/cpp_kernel/cpp_api. -// h) copybara:strip_end impl SerializedData { pub unsafe fn from_raw_parts(data: NonNull<u8>, len: usize) -> Self { diff --git a/rust/proxied.rs b/rust/proxied.rs index 94885edaf2..c2e0ccfc34 100644 --- a/rust/proxied.rs +++ b/rust/proxied.rs @@ -28,10 +28,6 @@ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -// copybara:strip_begin -// See http://go/rust-proxy-reference-types for design discussion. -// copybara:strip_end - //! Operating on borrowed data owned by a message is a central concept in //! Protobuf (and Rust in general). The way this is normally accomplished in //! Rust is to pass around references and operate on those. Unfortunately,