Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
mutexlox-signal committed Oct 10, 2024
1 parent 560af30 commit eaaf565
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/backend/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,9 @@ impl ContextOps for PulseContext {
fn backend_id(&mut self) -> &'static CStr {
// https://github.com/rust-lang/rust-clippy/issues/13531
#[allow(clippy::manual_c_str_literals)]
unsafe { CStr::from_ptr(b"pulse-rust\0".as_ptr() as *const _) }
unsafe {
CStr::from_ptr(b"pulse-rust\0".as_ptr() as *const _)
}
}

fn max_channel_count(&mut self) -> Result<u32> {
Expand Down

0 comments on commit eaaf565

Please sign in to comment.