From 01a059c20cf3cf9330404d9e408a586500757fe6 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 10 Dec 2021 21:59:21 +0000 Subject: [PATCH] remove splitter --- minecraft-chat/src/lib.rs | 1 - minecraft-chat/src/splitter.rs | 7 ------- 2 files changed, 8 deletions(-) delete mode 100644 minecraft-chat/src/splitter.rs diff --git a/minecraft-chat/src/lib.rs b/minecraft-chat/src/lib.rs index 5e9f1e3a..b7035e13 100644 --- a/minecraft-chat/src/lib.rs +++ b/minecraft-chat/src/lib.rs @@ -6,7 +6,6 @@ extern crate lazy_static; pub mod base_component; pub mod component; -pub mod splitter; pub mod style; pub mod text_component; pub mod translatable_component; diff --git a/minecraft-chat/src/splitter.rs b/minecraft-chat/src/splitter.rs deleted file mode 100644 index 812c3365..00000000 --- a/minecraft-chat/src/splitter.rs +++ /dev/null @@ -1,7 +0,0 @@ -//! Used for splitting text -//! This includes wrapping long lines and applying legacy color formats. -//! I'm not sure why applying legacy color formats is done here but that's the way Minecraft does it. - -use crate::component::Component; - -fn split_lines(component: Component) {}