Skip to content

Commit

Permalink
Fix warnings about unnecessary 'use' due to Box, Send and Sync being …
Browse files Browse the repository at this point in the history
…defined in the language prelude.

PiperOrigin-RevId: 615533149
  • Loading branch information
protobuf-github-bot authored and copybara-github committed Mar 13, 2024
1 parent c6727f4 commit be4476f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion rust/cpp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,6 @@ impl_ProxiedInMapValue_for_key_types!(
mod tests {
use super::*;
use googletest::prelude::*;
use std::boxed::Box;

// We need to allocate the byte array so SerializedData can own it and
// deallocate it in its drop. This function makes it easier to do so for our
Expand Down
1 change: 0 additions & 1 deletion rust/proxied.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ use crate::RepeatedMut;
use crate::__internal::Private;
use crate::repeated::ProxiedInRepeated;
use std::fmt::Debug;
use std::marker::{Send, Sync};

/// A type that can be accessed through a reference-like proxy.
///
Expand Down

0 comments on commit be4476f

Please sign in to comment.