Removed useless lifetime parameter from Bot trait.
This commit is contained in:
parent
67a087cab3
commit
f43634f58e
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ pub mod bot;
|
|||
pub mod conn;
|
||||
pub mod data;
|
||||
|
||||
pub trait Bot<'a> {
|
||||
pub trait Bot {
|
||||
fn send_nick(&self, nick: &str) -> IoResult<()>;
|
||||
fn send_user(&self, username: &str, real_name: &str) -> IoResult<()>;
|
||||
fn send_join(&self, chan: &str) -> IoResult<()>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue