From 9f0befa0338b0d49fab7290170b32ab9f5ad9f6f Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Tue, 24 Nov 2020 09:57:52 +0100 Subject: [PATCH] gstreamer: macro_use is for `use` statements, not macro calls --- gstreamer/src/bus_unix.rs | 1 - gstreamer/src/bus_windows.rs | 1 - 2 files changed, 2 deletions(-) diff --git a/gstreamer/src/bus_unix.rs b/gstreamer/src/bus_unix.rs index c9cedf109..cf3b31459 100644 --- a/gstreamer/src/bus_unix.rs +++ b/gstreamer/src/bus_unix.rs @@ -6,7 +6,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#[macro_use] cfg_if::cfg_if! { if #[cfg(unix)] { use glib::translate::ToGlibPtr; diff --git a/gstreamer/src/bus_windows.rs b/gstreamer/src/bus_windows.rs index 76cc7648e..6675b1817 100644 --- a/gstreamer/src/bus_windows.rs +++ b/gstreamer/src/bus_windows.rs @@ -6,7 +6,6 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. -#[macro_use] cfg_if::cfg_if! { if #[cfg(windows)] { use glib::translate::ToGlibPtr;