From 33cb47229a370e8e938d0f3e0ecac51dfe6c0c98 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Tue, 10 Sep 2024 12:49:58 +0200 Subject: [PATCH] structure: fix doc Part-of: --- gstreamer/src/caps.rs | 4 ++-- gstreamer/src/structure.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gstreamer/src/caps.rs b/gstreamer/src/caps.rs index 70856c890..11240ba51 100644 --- a/gstreamer/src/caps.rs +++ b/gstreamer/src/caps.rs @@ -314,7 +314,7 @@ impl CapsRef { } // rustdoc-stripper-ignore-next - /// Sets field `name` to the given inner value if `value` is `Some`. + /// Sets field `name` to the given value if the `predicate` evaluates to `true`. /// /// This has no effect if the `predicate` evaluates to `false`, /// i.e. default or previous value for `name` is kept. @@ -384,7 +384,7 @@ impl CapsRef { } // rustdoc-stripper-ignore-next - /// Sets field `name` to the given inner value if `value` is `Some`. + /// Sets field `name` to the given `value` if the `predicate` evaluates to `true`. /// /// This has no effect if the `predicate` evaluates to `false`, /// i.e. default or previous value for `name` is kept. diff --git a/gstreamer/src/structure.rs b/gstreamer/src/structure.rs index ec5ce932b..365582b6a 100644 --- a/gstreamer/src/structure.rs +++ b/gstreamer/src/structure.rs @@ -504,7 +504,7 @@ impl StructureRef { } // rustdoc-stripper-ignore-next - /// Sets field `name` to the given inner value if `value` is `Some`. + /// Sets field `name` to the given `value` if the `predicate` evaluates to `true`. /// /// This has no effect if the `predicate` evaluates to `false`, /// i.e. default or previous value for `name` is kept. @@ -581,7 +581,7 @@ impl StructureRef { } // rustdoc-stripper-ignore-next - /// Sets field `name` to the given inner value if `value` is `Some`. + /// Sets field `name` to the given `value` if the `predicate` evaluates to `true`. /// /// This has no effect if the `predicate` evaluates to `false`, /// i.e. default or previous value for `name` is kept.