diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-05-16 15:54:51 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2013-05-16 15:54:51 -0700 |
| commit | 65b7903ba3aab91c68d09e192f907a68b7308ee4 (patch) | |
| tree | 1866e5d278fea2fd77380fba6342d960618ac999 /src/rustllvm/RustWrapper.cpp | |
| parent | 6a9c3bd86e0271f26dc63bd12e0d54a35b704dff (diff) | |
| download | rust-65b7903ba3aab91c68d09e192f907a68b7308ee4.tar.gz rust-65b7903ba3aab91c68d09e192f907a68b7308ee4.zip | |
rustc: Change ty::get_impl_traits to return an option instead of a vec
Impls can implement either zero or one traits; this has been true more or less since we removed classes. So I got rid of the comments saying "we should support multiple traits" and changed the code to make it clear that we don't. This is just cleanup, and doesn't break any existing tests.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
