native: Switch field privacy as necessary

This commit is contained in:
Alex Crichton
2014-03-27 15:10:28 -07:00
parent 5f33588d75
commit 14587f88ca
11 changed files with 39 additions and 37 deletions

View File

@@ -106,7 +106,7 @@ fn bind(addr: &CString, ty: libc::c_int) -> IoResult<Inner> {
////////////////////////////////////////////////////////////////////////////////
pub struct UnixStream {
priv inner: UnsafeArc<Inner>,
inner: UnsafeArc<Inner>,
}
impl UnixStream {
@@ -160,7 +160,7 @@ impl rtio::RtioPipe for UnixStream {
////////////////////////////////////////////////////////////////////////////////
pub struct UnixDatagram {
priv inner: UnsafeArc<Inner>,
inner: UnsafeArc<Inner>,
}
impl UnixDatagram {
@@ -231,7 +231,7 @@ impl UnixDatagram {
////////////////////////////////////////////////////////////////////////////////
pub struct UnixListener {
priv inner: Inner,
inner: Inner,
}
impl UnixListener {
@@ -256,7 +256,7 @@ impl rtio::RtioUnixListener for UnixListener {
}
pub struct UnixAcceptor {
priv listener: UnixListener,
listener: UnixListener,
}
impl UnixAcceptor {