Skip to content

Commit 631ff77

Browse files
committed
chore: clippy fix for examples
1 parent 83dcb87 commit 631ff77

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

examples/beep.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ fn main() -> anyhow::Result<()> {
4848
let mut pulseaudio_host_id = Err(HostUnavailable);
4949
#[allow(unused_mut, unused_assignments)]
5050
let mut pipewire_host_id = Err(HostUnavailable);
51-
#[cfg(all(any(
51+
#[cfg(any(
5252
target_os = "linux",
5353
target_os = "dragonfly",
5454
target_os = "freebsd",
5555
target_os = "netbsd"
56-
),))]
56+
))]
5757
{
5858
#[cfg(feature = "jack")]
5959
{

examples/record_wav.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,12 @@ fn main() -> Result<(), anyhow::Error> {
4444
let mut pulseaudio_host_id = Err(HostUnavailable);
4545
#[allow(unused_mut, unused_assignments)]
4646
let mut pipewire_host_id = Err(HostUnavailable);
47-
#[cfg(all(any(
47+
#[cfg(any(
4848
target_os = "linux",
4949
target_os = "dragonfly",
5050
target_os = "freebsd",
5151
target_os = "netbsd"
52-
),))]
52+
))]
5353
{
5454
#[cfg(feature = "jack")]
5555
{

0 commit comments

Comments
 (0)