Update 'src/lib.rs'
Export the new function.
This commit is contained in:
parent
fea845a533
commit
cd15222685
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ impl<S: Read + Write> IrcWrite for IrcStream<S> {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<S: Read + Write> IrcStream<S> {
|
impl<S: Read + Write> IrcStream<S> {
|
||||||
fn new(stream: S) -> Self {
|
pub fn new(stream: S) -> Self {
|
||||||
Self{
|
Self{
|
||||||
stream,
|
stream,
|
||||||
buffer: String::new()
|
buffer: String::new()
|
||||||
|
|
Loading…
Reference in a new issue