1
0
mirror of https://github.com/pcvolkmer/arsnova-client.git synced 2025-07-01 14:32:54 +00:00

chore: cleanup imports

This commit is contained in:
2023-12-20 13:03:42 +01:00
parent ba8dd91af9
commit 320fe0fa97
2 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ use ratatui::text::{Line, Span};
use ratatui::widgets::Paragraph;
use ratatui::Terminal;
use tokio::select;
use tokio::sync::mpsc::Receiver;
use tokio::sync::mpsc::{channel, Receiver};
use arsnova_client::{Client, Feedback, FeedbackHandler};
@ -69,7 +69,7 @@ async fn main() -> Result<(), ()> {
let mut terminal = Terminal::new(CrosstermBackend::new(stdout())).map_err(|_| ())?;
terminal.clear().map_err(|_| ())?;
let (tx, rx) = tokio::sync::mpsc::channel::<Feedback>(10);
let (tx, rx) = channel::<Feedback>(10);
let l1 = client.on_feedback_changed(&cli.room, FeedbackHandler::Sender(tx.clone()));