Skip to content

Commit

Permalink
chore(web): Remove converting to same type (#2085)
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Dec 3, 2024
1 parent b15a23b commit 9606c5b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tonic-web/src/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -541,9 +541,7 @@ mod tests {

let trailers = make_trailers_frame(headers.clone());

let buf = Bytes::from(trailers);

let map = decode_trailers_frame(buf).unwrap().unwrap();
let map = decode_trailers_frame(trailers).unwrap().unwrap();

assert_eq!(headers, map);
}
Expand Down

0 comments on commit 9606c5b

Please sign in to comment.