From 1a99496b74459bbc6040353ffe908bbf767b10fa Mon Sep 17 00:00:00 2001 From: royalmustard Date: Wed, 24 Sep 2025 22:20:39 +0200 Subject: [PATCH] replace group_name with group in Param docs --- src/params.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/params.rs b/src/params.rs index ea23e349b..d3a9a294d 100644 --- a/src/params.rs +++ b/src/params.rs @@ -249,7 +249,7 @@ pub(crate) trait ParamMut: Param { /// with the `#[persist = "key"]` attribute containing types that can be serialized and deserialized /// with [Serde](https://serde.rs/). /// -/// ## `#[nested]`, `#[nested(group_name = "group name")]` +/// ## `#[nested]`, `#[nested(group = "group name")]` /// /// Finally, the `Params` object may include parameters from other objects. Setting a group name is /// optional, but some hosts can use this information to display the parameters in a tree structure. @@ -258,7 +258,7 @@ pub(crate) trait ParamMut: Param { /// /// Take a look at the example gain example plugin to see how this is used. /// -/// ## `#[nested(id_prefix = "foo", group_name = "Foo")]` +/// ## `#[nested(id_prefix = "foo", group = "Foo")]` /// /// Adding this attribute to a `Params` sub-object works similarly to the regular `#[nested]` /// attribute, but it also adds an ID to all parameters from the nested object. If a parameter in @@ -267,7 +267,7 @@ pub(crate) trait ParamMut: Param { /// the field. _This makes it possible to reuse the same parameter struct with different names and /// parameter indices._ /// -/// ## `#[nested(array, group_name = "Foo")]` +/// ## `#[nested(array, group = "Foo")]` /// /// This can be applied to an array-like data structure and it works similar to a `nested` attribute /// with an `id_name`, except that it will iterate over the array and create unique indices for all