diff options
| author | Ben S <ogham@bsago.me> | 2014-11-24 19:04:54 +0000 |
|---|---|---|
| committer | Ben S <ogham@bsago.me> | 2014-11-24 23:01:15 +0000 |
| commit | 3b9dfd6af04ca008a4c2ef13b7fd2e8433dc473f (patch) | |
| tree | f07344845ab95802de42397fd1c5827c292fe25e /src/test/codegen | |
| parent | 4334d3c19699c65ba8cb354f84fa40e4b678bfa6 (diff) | |
| download | rust-3b9dfd6af04ca008a4c2ef13b7fd2e8433dc473f.tar.gz rust-3b9dfd6af04ca008a4c2ef13b7fd2e8433dc473f.zip | |
Clean up FileType enum following enum namespacing
All of the enum components had a redundant 'Type' specifier: TypeSymlink, TypeDirectory, TypeFile. This change removes them, replacing them with a namespace: FileType::Symlink, FileType::Directory, and FileType::RegularFile. RegularFile is used instead of just File, as File by itself could be mistakenly thought of as referring to the struct. [breaking-change]
Diffstat (limited to 'src/test/codegen')
0 files changed, 0 insertions, 0 deletions
