hlssink3: Use #[cfg(feature = "doc")] on gst::prelude import

It otherwise gives a warning about the unused import
This commit is contained in:
Vivia Nikolaidou 2022-10-13 14:00:24 +03:00
parent 5f19639d0f
commit dbd5a44b90

View file

@ -13,6 +13,7 @@
* Since: plugins-rs-0.8.0
*/
use glib::prelude::*;
#[cfg(feature = "doc")]
use gst::prelude::*;
mod imp;