Fix documentation of impl_action_with_deprecated_aliases
(#29063)
Release Notes: - N/A
This commit is contained in:
parent
28aba94369
commit
a93aa598d6
1 changed files with 4 additions and 1 deletions
|
@ -394,7 +394,10 @@ macro_rules! action_with_deprecated_aliases {
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Defines and registers a unit struct that can be used as an action, with some deprecated aliases.
|
/// Registers the action and implements the Action trait for any struct that implements Clone,
|
||||||
|
/// Default, PartialEq, serde_deserialize::Deserialize, and schemars::JsonSchema.
|
||||||
|
///
|
||||||
|
/// Similar to `impl_actions!`, but only handles one struct, and registers some deprecated aliases.
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! impl_action_with_deprecated_aliases {
|
macro_rules! impl_action_with_deprecated_aliases {
|
||||||
($namespace:path, $name:ident, [$($alias:literal),* $(,)?]) => {
|
($namespace:path, $name:ident, [$($alias:literal),* $(,)?]) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue