diff --git a/src/gio.rs b/src/gio.rs index 1930faa..d8ab9db 100644 --- a/src/gio.rs +++ b/src/gio.rs @@ -73,7 +73,7 @@ unsafe impl> Send for 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())