about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorChris Morgan <me@chrismorgan.info>2013-12-14 23:22:01 +1100
committerChris Morgan <me@chrismorgan.info>2013-12-14 23:22:01 +1100
commit529f91572870cffdd9f13ddae12bb1f4e03186ab (patch)
treee690f31fa381a416efa9d713230fb3f018917703 /src/rustllvm/RustWrapper.cpp
parent844003683beb236616a069a233e66bfbe504427e (diff)
downloadrust-529f91572870cffdd9f13ddae12bb1f4e03186ab.tar.gz
rust-529f91572870cffdd9f13ddae12bb1f4e03186ab.zip
Remove {As,Into,To}{Option,Either,Result} traits.
Expanded, that is:

- `AsOption`
- `IntoOption`
- `ToOption`
- `AsEither`
- `IntoEither`
- `ToEither`
- `AsResult`
- `IntoResult`
- `ToResult`

These were defined for each other but never *used* anywhere. They are
all trivial and so removal will have negligible effect upon anyone.
`Either` has fallen out of favour (and its implementation of these
traits of dubious semantics), `Option<T>` → `Result<T, ()>` was never
really useful and `Result<T, E>` → `Option<T>` should now be done with
`Result.ok()` (mirrored with `Result.err()` for even more usefulness).

In summary, there's really no point in any of these remaining.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions