diff options
Diffstat (limited to 'third_party/rust/audioipc2/src')
-rw-r--r-- | third_party/rust/audioipc2/src/codec.rs | 2 | ||||
-rw-r--r-- | third_party/rust/audioipc2/src/messages.rs | 2 | ||||
-rw-r--r-- | third_party/rust/audioipc2/src/sys/unix/cmsg.rs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/third_party/rust/audioipc2/src/codec.rs b/third_party/rust/audioipc2/src/codec.rs index 2c61faa6ea..eb172fbc51 100644 --- a/third_party/rust/audioipc2/src/codec.rs +++ b/third_party/rust/audioipc2/src/codec.rs @@ -10,7 +10,7 @@ // This should be fixed in Rust 1.68, after which the following `allow` can be deleted. #![allow(clippy::uninlined_format_args)] -use bincode::{self, Options}; +use bincode::Options; use byteorder::{ByteOrder, LittleEndian}; use bytes::{Buf, BufMut, BytesMut}; use serde::de::DeserializeOwned; diff --git a/third_party/rust/audioipc2/src/messages.rs b/third_party/rust/audioipc2/src/messages.rs index 9ba9d8df3c..ef99bd4149 100644 --- a/third_party/rust/audioipc2/src/messages.rs +++ b/third_party/rust/audioipc2/src/messages.rs @@ -8,7 +8,7 @@ use crate::PlatformHandleType; use crate::INVALID_HANDLE_VALUE; #[cfg(target_os = "linux")] use audio_thread_priority::RtPriorityThreadInfo; -use cubeb::{self, ffi}; +use cubeb::ffi; use serde_derive::Deserialize; use serde_derive::Serialize; use std::ffi::{CStr, CString}; diff --git a/third_party/rust/audioipc2/src/sys/unix/cmsg.rs b/third_party/rust/audioipc2/src/sys/unix/cmsg.rs index 88a133772b..48f202957c 100644 --- a/third_party/rust/audioipc2/src/sys/unix/cmsg.rs +++ b/third_party/rust/audioipc2/src/sys/unix/cmsg.rs @@ -5,7 +5,7 @@ use crate::sys::HANDLE_QUEUE_LIMIT; use bytes::{BufMut, BytesMut}; -use libc::{self, cmsghdr}; +use libc::cmsghdr; use std::convert::TryInto; use std::os::unix::io::RawFd; use std::{mem, slice}; |