Skip to content

Commit

Permalink
updated comment to explain conditional derive macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Deep-co-de committed Jun 7, 2024
1 parent ce34396 commit a94aa60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust_crate/src/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub type SharedCell<T> = OnceLock<Mutex<RefCell<Option<T>>>>;
/// Optionally, a custom binary called `binary` can also be included.
/// This type is generic, and the message
/// can be of any type declared in Protobuf.
/// If the bevy feature is used, every message can be received as an event in bevy.
/// If the bevy feature is used, every message can be received as an event in Bevy.
#[cfg_attr(feature = "bevy", derive(Event))]
pub struct DartSignal<T> {
pub message: T,
Expand Down

0 comments on commit a94aa60

Please sign in to comment.