Skip to content

Commit

Permalink
Update src/codec/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Kohlhase <[email protected]>
  • Loading branch information
uklotzde and flosse authored Oct 17, 2024
1 parent 628fa68 commit c9cb4e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/codec/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fn encode_request_pdu(buf: &mut crate::bytes::BytesMut, request: &Request<'_>) {
}

#[cfg(any(test, feature = "server"))]
fn encode_response_pdu(buf: &mut crate::bytes::BytesMut, rsp: &Response) {
fn encode_response_pdu(buf: &mut crate::bytes::BytesMut, response: &Response) {
use crate::{bytes::BufMut as _, frame::Response::*};
buf.put_u8(rsp.function_code().value());
match rsp {
Expand Down

0 comments on commit c9cb4e7

Please sign in to comment.