Skip to content

Commit

Permalink
📝 Document Copy and Clone impl
Browse files Browse the repository at this point in the history
  • Loading branch information
wrenger committed Oct 13, 2024
1 parent 3f48bdc commit 96ad460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ assert_eq!(my_be_bitfield.into_bits().to_be_bytes(), [0x23, 0x41]);

## Automatic Trait Implementations

This macro automatically creates a suitable `fmt::Debug` and `Default` implementations similar to the ones created for normal structs by `#[derive(Debug, Default)]`.
Besides implementing `Clone` and `Copy`, this macro automatically creates a suitable `fmt::Debug` and `Default` implementations similar to the ones created for normal structs by `#[derive(Debug, Default)]`.
You can disable this with the extra `debug` and `default` arguments.

```rust
Expand Down

0 comments on commit 96ad460

Please sign in to comment.