We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27a0f9c commit 8758a1aCopy full SHA for 8758a1a
src/buf/buf_mut.rs
@@ -1047,7 +1047,6 @@ unsafe impl BufMut for Vec<u8> {
1047
1048
// Specialize these methods so they can skip checking `remaining_mut`
1049
// and `advance_mut`.
1050
-
1051
fn put<T: super::Buf>(&mut self, mut src: T)
1052
where
1053
Self: Sized,
@@ -1069,6 +1068,7 @@ unsafe impl BufMut for Vec<u8> {
1069
1068
}
1070
1071
+ #[inline]
1072
fn put_slice(&mut self, src: &[u8]) {
1073
self.extend_from_slice(src);
1074
0 commit comments