diff options
| author | bors <bors@rust-lang.org> | 2014-09-28 11:38:01 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-09-28 11:38:01 +0000 |
| commit | b7aa03a3caab2f15f32dcdb20b23510707ba47f8 (patch) | |
| tree | 7d7b7e90f94dce322397703fe1871ff42f73493a | |
| parent | 7eb9337dace88c5ded431aa7507f06d50619131b (diff) | |
| parent | 37b88374073d1e793402250e0ffb3900f23016c4 (diff) | |
| download | rust-b7aa03a3caab2f15f32dcdb20b23510707ba47f8.tar.gz rust-b7aa03a3caab2f15f32dcdb20b23510707ba47f8.zip | |
auto merge of #17532 : ahmedcharles/rust/typo, r=alexcrichton
| -rw-r--r-- | src/librustc/middle/ty.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/middle/ty.rs b/src/librustc/middle/ty.rs index 5ecf7c0d48d..875a79373a6 100644 --- a/src/librustc/middle/ty.rs +++ b/src/librustc/middle/ty.rs @@ -4571,7 +4571,7 @@ pub fn lookup_struct_fields(cx: &ctxt, did: ast::DefId) -> Vec<field_ty> { if did.krate == ast::LOCAL_CRATE { // We store the fields which are syntactically in each struct in cx. So // we have to walk the inheritance chain of the struct to get all the - // structs (explicit and inherited) for a struct. If this is expensive + // fields (explicit and inherited) for a struct. If this is expensive // we could cache the whole list of fields here. let struct_fields = cx.struct_fields.borrow(); let mut results: SmallVector<&[field_ty]> = SmallVector::zero(); |
