Skip to content

Commit 855af13

Browse files
---
yaml --- r: 274827 b: refs/heads/stable c: db6e5d5 h: refs/heads/master i: 274825: 03790a7 274823: 25539f7
1 parent 2723ef5 commit 855af13

File tree

2 files changed

+3
-3
lines changed
  • branches/stable/src/libsyntax_ext/deriving/generic

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: 2b69c989eeb5ceb30399a93ede049936a7bf0c5b
32+
refs/heads/stable: db6e5d5ef946a2f8369e665f2b756c2465b77b68
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/libsyntax_ext/deriving/generic/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ impl<'a> TraitDef<'a> {
553553

554554
let mut processed_field_types = HashSet::new();
555555
for field_ty in field_tys {
556-
let tys = find_type_parameters(&*field_ty, &ty_param_names);
556+
let tys = find_type_parameters(&field_ty, &ty_param_names);
557557

558558
for ty in tys {
559559
// if we have already handled this type, skip it
@@ -617,7 +617,7 @@ impl<'a> TraitDef<'a> {
617617
// Just mark it now since we know that it'll end up used downstream
618618
attr::mark_used(&attr);
619619
let opt_trait_ref = Some(trait_ref);
620-
let ident = ast_util::impl_pretty_name(&opt_trait_ref, Some(&*self_type));
620+
let ident = ast_util::impl_pretty_name(&opt_trait_ref, Some(&self_type));
621621
let unused_qual = cx.attribute(
622622
self.span,
623623
cx.meta_list(self.span,

0 commit comments

Comments
 (0)