From 8648470c475f409d171efc5b72a218f56aa58f94 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 27 Oct 2026 09:06:54 +0100 Subject: [PATCH] rustfmt the merged item_data.rs line Co-Authored-By: Claude Opus 5.5 --- crates/horizon-items/src/item_data.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/horizon-items/src/item_data.rs b/crates/horizon-items/src/item_data.rs index c7a608d24..aefc5f23d 100644 --- a/crates/horizon-items/src/item_data.rs +++ b/crates/horizon-items/src/item_data.rs @@ -323,7 +323,9 @@ fn read_text(t: &Tag) -> Option { // this), so flatten the whole component instead of reading one key. // ComponentSerialization.CODEC also takes a list (its first element // styling the rest), as servers behind ViaVersion send book pages. - Tag::Compound(_) | Tag::List(_) => Some(horizon_client_core::component::name_text(t).plain()), + Tag::Compound(_) | Tag::List(_) => { + Some(horizon_client_core::component::name_text(t).plain()) + } _ => None, } }