about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.cc
diff options
context:
space:
mode:
authorBen S <ogham@bsago.me>2014-11-24 19:04:54 +0000
committerBen S <ogham@bsago.me>2014-11-24 23:01:15 +0000
commit3b9dfd6af04ca008a4c2ef13b7fd2e8433dc473f (patch)
treef07344845ab95802de42397fd1c5827c292fe25e /src/test/codegen/stack-alloc-string-slice.cc
parent4334d3c19699c65ba8cb354f84fa40e4b678bfa6 (diff)
downloadrust-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/stack-alloc-string-slice.cc')
0 files changed, 0 insertions, 0 deletions