Commit 3c75741c89

3c75741c89461ad58f3af6d57bdd8cbd2264453d

parent: b45c358e22

Unsigned

Damir Jelić <poljar@termina.org.uk> · 2020-06-27 16:43 UTC

weechat-matrix: Add a bit of whitespace between the module docs and the rest.

Layout: unified · split

src/config.rs +1
@@ -14,6 +14,7 @@
14//! The config options created here will be alive as long as the plugin is 14//! The config options created here will be alive as long as the plugin is
15//! loaded so they don't need to be freed manually. The drop implementation of 15//! loaded so they don't need to be freed manually. The drop implementation of
16//! the section will do so. 16//! the section will do so.
17
17use crate::{MatrixServer, Servers}; 18use crate::{MatrixServer, Servers};
18use weechat::config::{ 19use weechat::config::{
19 Conf, ConfigOption, ConfigSection, ConfigSectionSettings, OptionChanged, 20 Conf, ConfigOption, ConfigSection, ConfigSectionSettings, OptionChanged,
src/server.rs +1
@@ -50,6 +50,7 @@
50//! The response receiver forwards events to the correct room. The response 50//! The response receiver forwards events to the correct room. The response
51//! receiver fetches events individually from a mpsc channel. This makes sure 51//! receiver fetches events individually from a mpsc channel. This makes sure
52//! that processing events will not block the Weechat mainloop for too long. 52//! that processing events will not block the Weechat mainloop for too long.
53
53use async_std::sync::channel as async_channel; 54use async_std::sync::channel as async_channel;
54use async_std::sync::{Receiver, Sender}; 55use async_std::sync::{Receiver, Sender};
55use std::cell::{Ref, RefCell}; 56use std::cell::{Ref, RefCell};