From 53dbbd035ffe86e4655c3afd36faa5752ded0737 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 3 Mar 2021 02:15:33 -0500 Subject: adjust the visibility of some types to make the docs make more sense --- src/async_std.rs | 2 +- src/lib.rs | 4 ++-- src/smol.rs | 2 +- src/std.rs | 3 +-- src/tokio.rs | 3 +-- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/async_std.rs b/src/async_std.rs index e91a18d..2a66647 100644 --- a/src/async_std.rs +++ b/src/async_std.rs @@ -1,2 +1,2 @@ pub type Child = - crate::command::Child; + crate::Child; diff --git a/src/lib.rs b/src/lib.rs index 42c39f4..d189676 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,9 +1,9 @@ mod command; -pub use command::Command; +pub use command::{Child, Command}; mod error; pub use error::{Error, Result}; mod pty; -pub use pty::{Pty, Size}; +pub use pty::Size; pub mod std; diff --git a/src/smol.rs b/src/smol.rs index e91a18d..2a66647 100644 --- a/src/smol.rs +++ b/src/smol.rs @@ -1,2 +1,2 @@ pub type Child = - crate::command::Child; + crate::Child; diff --git a/src/std.rs b/src/std.rs index fa07499..969c51a 100644 --- a/src/std.rs +++ b/src/std.rs @@ -1,2 +1 @@ -pub type Child = - crate::command::Child; +pub type Child = crate::Child; diff --git a/src/tokio.rs b/src/tokio.rs index 289d659..b0ad53c 100644 --- a/src/tokio.rs +++ b/src/tokio.rs @@ -1,2 +1 @@ -pub type Child = - crate::command::Child; +pub type Child = crate::Child; -- cgit v1.2.3-54-g00ecf