mirror of
https://github.com/fossasia/badgemagic-rs
synced 2025-08-14 11:17:59 +00:00
fix: fix clippy linting part II
This commit is contained in:
parent
9caac1bb6e
commit
07a3b5731b
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ fn write_payload(
|
|||
.enable_all()
|
||||
.build()?
|
||||
.block_on(async {
|
||||
BleDevice::single(device_name.map(|x| x.as_str()))
|
||||
BleDevice::single(device_name.map(String::as_str))
|
||||
.await?
|
||||
.write(payload)
|
||||
.await
|
||||
|
|
Loading…
Reference in a new issue