diff options
| author | mat <github@matdoes.dev> | 2021-12-15 14:06:14 -0600 |
|---|---|---|
| committer | mat <github@matdoes.dev> | 2021-12-15 14:06:14 -0600 |
| commit | 1c9e089b7268fe4ffeeee5e594bb2d708470d2a1 (patch) | |
| tree | 7743fa0a6347d3adf727d7b942e6f91c1956e242 /minecraft-chat/src/base_component.rs | |
| parent | 732de94d7b9f1bf2bc9239c8138a37c53242b470 (diff) | |
| download | azalea-drasl-1c9e089b7268fe4ffeeee5e594bb2d708470d2a1.tar.xz | |
clippy
Diffstat (limited to 'minecraft-chat/src/base_component.rs')
| -rw-r--r-- | minecraft-chat/src/base_component.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/minecraft-chat/src/base_component.rs b/minecraft-chat/src/base_component.rs index b07e08e7..fa39a11c 100644 --- a/minecraft-chat/src/base_component.rs +++ b/minecraft-chat/src/base_component.rs @@ -15,3 +15,9 @@ impl BaseComponent { } } } + +impl Default for BaseComponent { + fn default() -> Self { + Self::new() + } +} |
