]> git.lizzy.rs Git - rust.git/commit
Remove usage of private enum variants
authorAlex Crichton <alex@alexcrichton.com>
Wed, 16 Apr 2014 01:05:38 +0000 (18:05 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 16 Apr 2014 02:17:44 +0000 (19:17 -0700)
commit83351fa02e08caa8fb8017254cc6e7c99fc65d2b
treeba1d32ccf6dde845558040cd60ab3d2b177fb26a
parent10f94e3fe5859fe7fc001cf26f4fa401d9a2ee2e
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
src/liblibc/lib.rs
src/librand/distributions/gamma.rs
src/librustc/middle/trans/debuginfo.rs
src/libsyntax/util/small_vector.rs