From 591ab4314e33f661aeb989e15528088d5a7f623b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Thu, 21 Nov 2024 12:38:01 +0100 Subject: [PATCH] gst: structure: revert [filter_]map_in_place deprecation For `Structure`, `map_in_place()` & `filter_map_in_place()` where marked as deprecated when the feature v1_26 was selected. Any existing code using those functions will be rejected by CI clippy job because it uses `--all-features`. This commit removes the conditional deprecation. Part-of: --- gstreamer/src/structure.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gstreamer/src/structure.rs b/gstreamer/src/structure.rs index 14d3190a8..71b007aa0 100644 --- a/gstreamer/src/structure.rs +++ b/gstreamer/src/structure.rs @@ -1588,7 +1588,6 @@ impl StructureRef { /// * `ControlFlow::Break(())` otherwise. /// /// [map_in_place_by_id]: crate::StructureRef::map_in_place_by_id - #[cfg_attr(feature = "v1_26", deprecated = "use `map_in_place_by_id()` instead")] #[doc(alias = "gst_structure_map_in_place")] pub fn map_in_place std::ops::ControlFlow<()>>( &mut self, @@ -1632,10 +1631,6 @@ impl StructureRef { /// use [filter_map_in_place_by_id] instead. /// /// [filter_map_in_place_by_id]: crate::StructureRef::filter_map_in_place_by_id - #[cfg_attr( - feature = "v1_26", - deprecated = "use `filter_map_in_place_by_id()` instead" - )] #[doc(alias = "gst_structure_filter_and_map_in_place")] pub fn filter_map_in_place Option>( &mut self,