Remove Debug trait from AudioUnitStream and CoreStreamData

This commit is contained in:
Chun-Min Chang 2020-03-27 11:05:15 -07:00
Родитель 20daa86ae2
Коммит e41a3c898f
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -2280,7 +2280,6 @@ impl Drop for AudioUnitContext {
unsafe impl Send for AudioUnitContext {}
unsafe impl Sync for AudioUnitContext {}
#[derive(Debug)]
struct CoreStreamData<'ctx> {
stm_ptr: *const AudioUnitStream<'ctx>,
aggregate_device: AggregateDevice,
@ -3116,7 +3115,6 @@ impl<'ctx> Drop for CoreStreamData<'ctx> {
// defined pointer. The Cubeb interface use this assumption to operate the Cubeb APIs.
// #[repr(C)] is used to prevent any padding from being added in the beginning of the AudioUnitStream.
#[repr(C)]
#[derive(Debug)]
// Allow exposing this private struct in public interfaces when running tests.
#[cfg_attr(test, allow(private_in_public))]
struct AudioUnitStream<'ctx> {