Update 'src/lib.rs'

Export the new function.
This commit is contained in:
Thelie 2021-04-27 23:34:25 +02:00
parent fea845a533
commit cd15222685

View file

@ -71,7 +71,7 @@ impl<S: Read + Write> IrcWrite for IrcStream<S> {
}
impl<S: Read + Write> IrcStream<S> {
fn new(stream: S) -> Self {
pub fn new(stream: S) -> Self {
Self{
stream,
buffer: String::new()