parent
9a3d0aacda
commit
3a0e00c323
2 changed files with 2 additions and 17 deletions
src/core
|
@ -43,14 +43,8 @@ pub enum ChangeResult {
|
|||
// pub use ChType::Channel;
|
||||
//
|
||||
//simplifying from enum to struct
|
||||
pub struct Channel(String);
|
||||
impl Channel
|
||||
{
|
||||
pub fn construct(channel_string:String) -> Channel
|
||||
{
|
||||
Channel(channel_string)
|
||||
}
|
||||
}
|
||||
pub struct Channel(pub String);
|
||||
|
||||
use super::botmodules::StatusType;
|
||||
|
||||
#[derive(Clone)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue