Commit f4b794918c
Unsigned
Layout: unified · split
src/commands/matrix.rs +1 −1
| @@ -17,7 +17,7 @@ pub struct MatrixCommand { | ||
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | impl MatrixCommand { |
| 20 | pub fn new( | |
| 20 | pub fn create( | |
| 21 | 21 | servers: &Servers, |
| 22 | 22 | config: &ConfigHandle, |
| 23 | 23 | ) -> Result<Command, ()> { |
src/commands/mod.rs +1 −1
| @@ -16,7 +16,7 @@ impl Commands { | ||
| 16 | 16 | config: &ConfigHandle, |
| 17 | 17 | ) -> Result<Commands, ()> { |
| 18 | 18 | Ok(Commands { |
| 19 | _matrix: MatrixCommand::new(servers, config)?, | |
| 19 | _matrix: MatrixCommand::create(servers, config)?, | |
| 20 | 20 | }) |
| 21 | 21 | } |
| 22 | 22 | } |