diff --git a/apps/chat-test/src/main.rs b/apps/chat-test/src/main.rs index 7d4ff55de..f0e0b754a 100644 --- a/apps/chat-test/src/main.rs +++ b/apps/chat-test/src/main.rs @@ -5,7 +5,7 @@ mod api; mod tests; use api::*; -use chat::{Chat, Event, POST_TEXT_MAX}; +use chat::{Chat, Event}; use num_traits::*; use xous_ipc::Buffer; @@ -76,7 +76,7 @@ fn wrapped_main() -> ! { } Some(ChatTestOp::Post) => { let buffer = unsafe { Buffer::from_memory_message(msg.body.memory_message().unwrap()) }; - let s = buffer.to_original::, _>().unwrap(); + let s = buffer.to_original::().unwrap(); if s.len() > 0 { // capture input instead of calling here, so message can drop and calling server is // released