Skip to content

Commit b7aa03a

Browse files
committed
auto merge of #17532 : ahmedcharles/rust/typo, r=alexcrichton
2 parents 7eb9337 + 37b8837 commit b7aa03a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4571,7 +4571,7 @@ pub fn lookup_struct_fields(cx: &ctxt, did: ast::DefId) -> Vec<field_ty> {
45714571
if did.krate == ast::LOCAL_CRATE {
45724572
// We store the fields which are syntactically in each struct in cx. So
45734573
// we have to walk the inheritance chain of the struct to get all the
4574-
// structs (explicit and inherited) for a struct. If this is expensive
4574+
// fields (explicit and inherited) for a struct. If this is expensive
45754575
// we could cache the whole list of fields here.
45764576
let struct_fields = cx.struct_fields.borrow();
45774577
let mut results: SmallVector<&[field_ty]> = SmallVector::zero();

0 commit comments

Comments
 (0)