aboutsummaryrefslogtreecommitdiff
path: root/azalea-chat/src/translatable_component.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-chat/src/translatable_component.rs')
-rw-r--r--azalea-chat/src/translatable_component.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-chat/src/translatable_component.rs b/azalea-chat/src/translatable_component.rs
index 918c2c42..7c01819b 100644
--- a/azalea-chat/src/translatable_component.rs
+++ b/azalea-chat/src/translatable_component.rs
@@ -134,8 +134,8 @@ impl Display for TranslatableComponent {
impl Display for StringOrComponent {
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), fmt::Error> {
match self {
- StringOrComponent::String(s) => write!(f, "{}", s),
- StringOrComponent::Component(c) => write!(f, "{}", c),
+ StringOrComponent::String(s) => write!(f, "{s}"),
+ StringOrComponent::Component(c) => write!(f, "{c}"),
}
}
}