We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be2090 commit b28990eCopy full SHA for b28990e
crates/bevy_mod_scripting_core/src/event.rs
@@ -57,7 +57,7 @@ impl CallbackLabel {
57
#[macro_export]
58
/// Creates a set of callback labels
59
macro_rules! callback_labels {
60
- ($($name:ident => $label:expr),*) => {
+ ($($name:ident => $label:expr),* $(,)?) => {
61
62
$(
63
#[doc = "A callback label for the event: "]
@@ -74,7 +74,7 @@ macro_rules! callback_labels {
74
75
callback_labels!(
76
OnScriptLoaded => "on_script_loaded",
77
- OnScriptUnloaded => "on_script_unloaded"
+ OnScriptUnloaded => "on_script_unloaded",
78
);
79
80
/// A trait for types that can be converted into a callback label
0 commit comments