Closed andrewgazelka closed 5 months ago
Before only syntax like
observer!( "pose_update", world, event::PostureUpdate, &Compose($), [filter] &NetworkStreamRef )
was allowed. However, now
observer!( "pose_update", world, event::PostureUpdate, &Compose($), [filter] &NetworkStreamRef, )
is allowed too. Note the trailing comma. Having a trailing comma is often idiomatic (at least, in my opinion) in Rust for multi-line macros.
Before only syntax like
was allowed. However, now
is allowed too. Note the trailing comma. Having a trailing comma is often idiomatic (at least, in my opinion) in Rust for multi-line macros.