Split source file

This commit is contained in:
Elnu 2023-05-28 15:40:09 -07:00
parent fcfe7171b5
commit 08635610cc
9 changed files with 442 additions and 422 deletions

View file

@ -41,7 +41,7 @@ impl App {
}
fn next(&mut self) {
if let Some(renrs::Event::Say { name, text }) = self.state.next() {
if let Some(renrs::parser::event::Event::Say { name, text }) = self.state.next() {
self.text = match name {
Some(name) => format!("{name}: {text}"),
None => text,