File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,7 +122,6 @@ collapsible_match = "allow"
122122decimal_literal_representation = " allow" # TODO: consider
123123default_trait_access = " allow"
124124else_if_without_else = " allow"
125- empty_structs_with_brackets = " allow" # TODO: easy fix
126125enum_glob_use = " allow"
127126explicit_iter_loop = " allow" # TODO: easy fix
128127float_arithmetic = " allow"
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ impl dyn Sleep {
107107 where
108108 T : Sleep + ' static ,
109109 {
110- self . __type_id ( private:: Sealed { } ) == TypeId :: of :: < T > ( )
110+ self . __type_id ( private:: Sealed ) == TypeId :: of :: < T > ( )
111111 }
112112
113113 /// Downcast a pinned `&mut Sleep` object to its original type.
@@ -130,5 +130,5 @@ impl dyn Sleep {
130130
131131mod private {
132132 #![ allow( missing_debug_implementations) ]
133- pub struct Sealed { }
133+ pub struct Sealed ;
134134}
You can’t perform that action at this time.
0 commit comments