diff --git a/src/gio.rs b/src/gio.rs index 2ca16b7..114db7e 100644 --- a/src/gio.rs +++ b/src/gio.rs @@ -71,7 +71,7 @@ pub struct IOStreamAsyncReadWrite> { impl> IOStreamAsyncReadWrite { /// Create a new `gio::IOStream` adapter - pub fn new(stream: T) -> Result, T> { + fn new(stream: T) -> Result, T> { let write = stream .get_output_stream() .and_then(|s| s.dynamic_cast::().ok())