fix check errors

This commit is contained in:
Noa Aarts 2025-04-30 21:53:23 +02:00
parent dd5ccf5502
commit ff458116b7
Signed by: noa
GPG key ID: 1850932741EFF672
5 changed files with 11 additions and 11 deletions

View file

@ -113,12 +113,12 @@ To set a pixel using RGB, use ({SET_PX_RGB_BIN:02X}) (u8 canvas) (x as u16_le) (
match protocol {
crate::ProtocolStatus::Enabled(proto) => {
writer
.write_all(format!("Enabled: {}\n", proto).as_bytes())
.write_all(format!("Enabled: {proto}\n").as_bytes())
.await?;
}
crate::ProtocolStatus::Disabled(proto) => {
writer
.write_all(format!("Disabled: {}\n", proto).as_bytes())
.write_all(format!("Disabled: {proto}\n").as_bytes())
.await?;
}
}