From cd15222685e3bbd80acaa279ceabc1514636b08c Mon Sep 17 00:00:00 2001 From: Thelie Date: Tue, 27 Apr 2021 23:34:25 +0200 Subject: [PATCH] Update 'src/lib.rs' Export the new function. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 7c3b67a..96e5757 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -71,7 +71,7 @@ impl IrcWrite for IrcStream { } impl IrcStream { - fn new(stream: S) -> Self { + pub fn new(stream: S) -> Self { Self{ stream, buffer: String::new()