Commit cc644ef031

cc644ef031daa1af3b81c53eb0a77b9051695210

parent: e7dee5c19c

Unsigned

Damir Jelić <poljar@termina.org.uk> · 2020-06-20 10:39 UTC

weechat-matrix: Mark some unused stuff as used.

Layout: unified · split

src/debug.rs −1
@@ -1,5 +1,4 @@
11use std::io;
2use tokio::sync::mpsc::{UnboundedReceiver, UnboundedSender};
32use weechat::Weechat;
43
54#[derive(Clone)]
src/lib.rs +2
@@ -38,7 +38,9 @@ impl Servers {
3838
3939struct Matrix {
4040 servers: Servers,
41 #[used]
4142 commands: Commands,
43 #[used]
4244 config: Config,
4345}
4446
src/server.rs +1
@@ -126,6 +126,7 @@ pub struct Connection {
126126 response_receiver: JoinHandle<(), ()>,
127127 // TODO move the runtime into the plugin, once we're able to cancel tokio
128128 // tasks.
129 #[used]
129130 runtime: Runtime,
130131}
131132