mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-03 02:23:20 +00:00
Remove Clone
trait bound in add_to_ancillary_data
This commit is contained in:
parent
3dfab6fb64
commit
b82f29d780
@ -65,7 +65,7 @@ pub(super) fn send_vectored_with_ancillary_to(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn add_to_ancillary_data<T: Clone>(
|
fn add_to_ancillary_data<T>(
|
||||||
buffer: &mut [u8],
|
buffer: &mut [u8],
|
||||||
length: &mut usize,
|
length: &mut usize,
|
||||||
source: &[T],
|
source: &[T],
|
||||||
|
Loading…
Reference in New Issue
Block a user