diff options
| author | Charles Johnson <32775248+ChemicalXandco@users.noreply.github.com> | 2023-02-09 17:18:56 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-09 11:18:56 -0600 |
| commit | 48b2a37aa09f0302b40d0678cdde2703f919ed18 (patch) | |
| tree | 14354705cfd342c58bb93b80f26de2246da5494c /azalea-block/README.md | |
| parent | c23fae6e5dc2832f3649838f514eafb9dfa3e598 (diff) | |
| download | azalea-drasl-48b2a37aa09f0302b40d0678cdde2703f919ed18.tar.xz | |
derive `Debug` for `BlockState` (#64)
* derive `Debug` for `BlockState`
* change default Debug for BlockState
---------
Co-authored-by: Ubuntu <github@matdoes.dev>
Diffstat (limited to 'azalea-block/README.md')
| -rwxr-xr-x | azalea-block/README.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/azalea-block/README.md b/azalea-block/README.md index 84da3241..efeda675 100755 --- a/azalea-block/README.md +++ b/azalea-block/README.md @@ -8,3 +8,5 @@ There's two main things here, the `BlockState` enum and the `Block` trait. Every block is a struct that implements `Block`. You can freely convert between `BlockState` and `Block` with .into(). If you don't want the `Block` trait, set default-features to false. + +Also, by default the `Debug` implementation for `BlockState` only logs the name of the block and not the name of the enum variant. If you want that, enable the `full-debug` feature (though it's not recommended). |
