File tree Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ needless_doctest_main = "allow"
179
179
new_without_default = " allow"
180
180
non_canonical_clone_impl = " allow"
181
181
non_canonical_partial_ord_impl = " allow"
182
- op_ref = " allow"
183
182
option_map_unit_fn = " allow"
184
183
partialeq_to_none = " allow"
185
184
ptr_arg = " allow"
Original file line number Diff line number Diff line change @@ -733,9 +733,7 @@ pub struct InTypeConstLoc {
733
733
734
734
impl PartialEq for InTypeConstLoc {
735
735
fn eq ( & self , other : & Self ) -> bool {
736
- self . id == other. id
737
- && self . owner == other. owner
738
- && & * self . expected_ty == & * other. expected_ty
736
+ self . id == other. id && self . owner == other. owner && * self . expected_ty == * other. expected_ty
739
737
}
740
738
}
741
739
Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ fn expander_to_proc_macro(
358
358
proc_macro_api:: ProcMacroKind :: Attr => ProcMacroKind :: Attr ,
359
359
} ;
360
360
let expander: sync:: Arc < dyn ProcMacroExpander > =
361
- if dummy_replace. iter ( ) . any ( |replace| & * * replace == name) {
361
+ if dummy_replace. iter ( ) . any ( |replace| * * replace == name) {
362
362
match kind {
363
363
ProcMacroKind :: Attr => sync:: Arc :: new ( IdentityExpander ) ,
364
364
_ => sync:: Arc :: new ( EmptyExpander ) ,
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ impl CargoWorkspace {
368
368
name,
369
369
root : AbsPathBuf :: assert ( src_path. into ( ) ) ,
370
370
kind : TargetKind :: new ( & kind) ,
371
- is_proc_macro : & * kind == [ "proc-macro" ] ,
371
+ is_proc_macro : * kind == [ "proc-macro" ] ,
372
372
required_features,
373
373
} ) ;
374
374
pkg_data. targets . push ( tgt) ;
You can’t perform that action at this time.
0 commit comments