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, } }