interface: satisfy rnode tcp clippy

This commit is contained in:
DeFiDude committed 2026-05-19 22:34:25 -06:00
1 parent 20bee8bafd
commit ade40c8283
1 file changed
+2 -2
+2 -2
View File
@@ -149,10 +149,10 @@ impl PortConfig {
} else {
#[cfg(feature = "serial")]
{
return Ok(Self::Serial {
Ok(Self::Serial {
path: port.to_string(),
baud,
});
})
}
#[cfg(not(feature = "serial"))]
Err("RNode serial ports require the 'serial' feature; use tcp://host[:port] for TCP RNodes".to_string())