Skip to content

Commit 13bb667

Browse files
arjan-baldfawley
andauthored
Update grpc/src/codec.rs
Co-authored-by: Doug Fawley <dfawley@google.com>
1 parent b01eca5 commit 13bb667

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

grpc/src/codec.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,8 @@ pub(crate) struct BytesCodec {}
1212

1313
impl Codec for BytesCodec {
1414
type Encode = Bytes;
15-
1615
type Decode = Bytes;
17-
1816
type Encoder = BytesEncoder;
19-
2017
type Decoder = BytesDecoder;
2118

2219
fn encoder(&mut self) -> Self::Encoder {
@@ -32,7 +29,6 @@ pub struct BytesEncoder {}
3229

3330
impl Encoder for BytesEncoder {
3431
type Item = Bytes;
35-
3632
type Error = Status;
3733

3834
fn encode(&mut self, item: Self::Item, dst: &mut EncodeBuf<'_>) -> Result<(), Self::Error> {
@@ -46,7 +42,6 @@ pub struct BytesDecoder {}
4642

4743
impl Decoder for BytesDecoder {
4844
type Item = Bytes;
49-
5045
type Error = Status;
5146

5247
fn decode(

0 commit comments

Comments
 (0)