diff --git a/src/gio.rs b/src/gio.rs index 16ce1d8..b75b6b7 100644 --- a/src/gio.rs +++ b/src/gio.rs @@ -72,7 +72,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())