generated from ElnuDev/rust-project
Split source file
This commit is contained in:
parent
fcfe7171b5
commit
08635610cc
9 changed files with 442 additions and 422 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue