Skip to content

Commit

Permalink
Fix derives in test
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Hohenheim <jan@hohenheim.ch>
  • Loading branch information
Jondolf and janhohenheim authored Aug 22, 2024
1 parent c5ae006 commit d34bbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/avian_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ use syn::{parse_macro_input, spanned::Spanned, Data, DeriveInput};
/// # Example
///
/// ```ignore
/// #[derive(PhysicsLayer, Default)]
/// #[derive(PhysicsLayer, Clone, Copy, Debug, Default)]
/// enum GameLayer {
/// #[default]
/// Default, // Layer 0 - the default layer that objects are assigned to
Expand Down

0 comments on commit d34bbc2

Please sign in to comment.