Skip to content

Commit a33d925

Browse files
committed
chore: Add deadcode allow to adaptermanager
lazy but kills a warning
1 parent 579ad83 commit a33d925

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/adapter_manager.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ where
7373
.collect()
7474
}
7575

76+
// Only used on windows and macOS/iOS, so turn off deadcode so we don't get warnings on android/linux.
77+
#[allow(dead_code)]
7678
pub fn peripheral_mut(
7779
&self,
7880
id: &PeripheralId,

0 commit comments

Comments
 (0)