diff --git a/gstreamer/src/caps.rs b/gstreamer/src/caps.rs index cd01816a4..82b5ce70e 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.