diff options
Diffstat (limited to 'azalea-chat/src/component.rs')
| -rw-r--r-- | azalea-chat/src/component.rs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/azalea-chat/src/component.rs b/azalea-chat/src/component.rs index b338fe2d..90906bfd 100644 --- a/azalea-chat/src/component.rs +++ b/azalea-chat/src/component.rs @@ -674,16 +674,6 @@ impl From<&str> for FormattedText { Self::from(s.to_owned()) } } -impl From<TranslatableComponent> for FormattedText { - fn from(c: TranslatableComponent) -> Self { - FormattedText::Translatable(c) - } -} -impl From<TextComponent> for FormattedText { - fn from(c: TextComponent) -> Self { - FormattedText::Text(c) - } -} impl Display for FormattedText { /// Render the text in the component but without any formatting/styling. |
