Skip to content

Commit e345857

Browse files
pv42patrickelectric
authored andcommitted
fix: fmt
1 parent e481f5f commit e345857

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

mavlink-core/src/connection/udp.rs

+1-6
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,7 @@ impl<M: Message> MavConnection<M> for UdpConnection {
161161
let len = if let Some(addr) = state.dest {
162162
let mut buf = Vec::new();
163163
#[cfg(not(feature = "signing"))]
164-
write_versioned_msg(
165-
&mut buf,
166-
self.protocol_version,
167-
header,
168-
data,
169-
)?;
164+
write_versioned_msg(&mut buf, self.protocol_version, header, data)?;
170165
#[cfg(feature = "signing")]
171166
write_versioned_msg_signed(
172167
&mut buf,

0 commit comments

Comments
 (0)