diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-04-15 18:05:38 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-04-15 19:17:44 -0700 |
| commit | 83351fa02e08caa8fb8017254cc6e7c99fc65d2b (patch) | |
| tree | ba1d32ccf6dde845558040cd60ab3d2b177fb26a /src/liblibc | |
| parent | 10f94e3fe5859fe7fc001cf26f4fa401d9a2ee2e (diff) | |
| download | rust-83351fa02e08caa8fb8017254cc6e7c99fc65d2b.tar.gz rust-83351fa02e08caa8fb8017254cc6e7c99fc65d2b.zip | |
Remove usage of private enum variants
This replaces all uses of private enum variants with a struct that has one private field pointing at a private enum. RFC: 0006-remove-priv
Diffstat (limited to 'src/liblibc')
| -rw-r--r-- | src/liblibc/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/liblibc/lib.rs b/src/liblibc/lib.rs index 18e815e9b7c..379d3cdc94e 100644 --- a/src/liblibc/lib.rs +++ b/src/liblibc/lib.rs @@ -229,8 +229,8 @@ pub mod types { */ #[repr(u8)] pub enum c_void { - priv variant1, - priv variant2 + __variant1, + __variant2, } pub enum FILE {} pub enum fpos_t {} |
