Commit b45c358e22
Unsigned
Layout: unified · split
src/config_macros.rs +1 −1
| @@ -200,7 +200,7 @@ macro_rules! section { | ||
| 200 | 200 | /// Declare a Weechat configuration file. |
| 201 | 201 | /// |
| 202 | 202 | /// This will generate a struct called `Config` which wraps the Weechat struct |
| 203 | /// of the same name. The generated struct will have accessors for every | |
| 203 | /// of the same name. The generated struct will have accessors for every | |
| 204 | 204 | /// section and option that is declared. |
| 205 | 205 | /// |
| 206 | 206 | /// The generated struct dereferences into the Weechat `Config` struct so |
src/lib.rs +4 −4
| @@ -132,10 +132,10 @@ impl WeechatPlugin for Matrix { | ||
| 132 | 132 | } |
| 133 | 133 | |
| 134 | 134 | let plugin = Matrix { |
| 135 | servers: servers.clone(), | |
| 136 | commands, | |
| 137 | config: config.clone(), | |
| 138 | status_bar, | |
| 135 | servers: servers.clone(), | |
| 136 | commands, | |
| 137 | config: config.clone(), | |
| 138 | status_bar, | |
| 139 | 139 | }; |
| 140 | 140 | |
| 141 | 141 | Weechat::spawn(async move { |