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"
179179new_without_default = " allow"
180180non_canonical_clone_impl = " allow"
181181non_canonical_partial_ord_impl = " allow"
182- op_ref = " allow"
183182option_map_unit_fn = " allow"
184183partialeq_to_none = " allow"
185184ptr_arg = " allow"
Original file line number Diff line number Diff line change @@ -733,9 +733,7 @@ pub struct InTypeConstLoc {
733733
734734impl PartialEq for InTypeConstLoc {
735735 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
739737 }
740738}
741739
Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ fn expander_to_proc_macro(
358358 proc_macro_api:: ProcMacroKind :: Attr => ProcMacroKind :: Attr ,
359359 } ;
360360 let expander: sync:: Arc < dyn ProcMacroExpander > =
361- if dummy_replace. iter ( ) . any ( |replace| & * * replace == name) {
361+ if dummy_replace. iter ( ) . any ( |replace| * * replace == name) {
362362 match kind {
363363 ProcMacroKind :: Attr => sync:: Arc :: new ( IdentityExpander ) ,
364364 _ => sync:: Arc :: new ( EmptyExpander ) ,
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ impl CargoWorkspace {
368368 name,
369369 root : AbsPathBuf :: assert ( src_path. into ( ) ) ,
370370 kind : TargetKind :: new ( & kind) ,
371- is_proc_macro : & * kind == [ "proc-macro" ] ,
371+ is_proc_macro : * kind == [ "proc-macro" ] ,
372372 required_features,
373373 } ) ;
374374 pkg_data. targets . push ( tgt) ;
You can’t perform that action at this time.
0 commit comments