Re-use std::sealed::Sealed in os/linux/process.
This commit is contained in:
parent
d08460e70c
commit
f280a126b2
2 changed files with 7 additions and 12 deletions
|
@ -205,6 +205,10 @@ pub struct Child {
|
|||
pub stderr: Option<ChildStderr>,
|
||||
}
|
||||
|
||||
/// Allows extension traits within `std`.
|
||||
#[unstable(feature = "sealed", issue = "none")]
|
||||
impl crate::sealed::Sealed for Child {}
|
||||
|
||||
impl AsInner<imp::Process> for Child {
|
||||
fn as_inner(&self) -> &imp::Process {
|
||||
&self.handle
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue