@@ -106,7 +106,6 @@ pub enum CaseConversionPolicy {
106106 PascalCase ,
107107}
108108
109-
110109#[ derive( Debug , Clone , SpacetimeType ) ]
111110#[ sats( crate = crate ) ]
112111#[ cfg_attr( feature = "test" , derive( PartialEq , Eq , Ord , PartialOrd ) ) ]
@@ -122,7 +121,7 @@ pub struct NameMapping {
122121#[ non_exhaustive]
123122pub enum ExplicitNameEntry {
124123 Table ( NameMapping ) ,
125- Function ( NameMapping )
124+ Function ( NameMapping ) ,
126125}
127126
128127#[ derive( Debug , Default , Clone , SpacetimeType ) ]
@@ -134,29 +133,18 @@ pub struct ExplicitNames {
134133}
135134
136135impl ExplicitNames {
137- fn insert (
138- & mut self ,
139- entry : ExplicitNameEntry ,
140- ) {
136+ fn insert ( & mut self , entry : ExplicitNameEntry ) {
141137 self . entries . push ( entry) ;
142138 }
143139
144- pub fn insert_table (
145- & mut self ,
146- source_name : impl Into < RawIdentifier > ,
147- canonical_name : impl Into < RawIdentifier > ,
148- ) {
140+ pub fn insert_table ( & mut self , source_name : impl Into < RawIdentifier > , canonical_name : impl Into < RawIdentifier > ) {
149141 self . insert ( ExplicitNameEntry :: Table ( NameMapping {
150142 source_name : source_name. into ( ) ,
151143 canonical_name : canonical_name. into ( ) ,
152144 } ) ) ;
153145 }
154146
155- pub fn insert_function (
156- & mut self ,
157- source_name : impl Into < RawIdentifier > ,
158- canonical_name : impl Into < RawIdentifier > ,
159- ) {
147+ pub fn insert_function ( & mut self , source_name : impl Into < RawIdentifier > , canonical_name : impl Into < RawIdentifier > ) {
160148 self . insert ( ExplicitNameEntry :: Function ( NameMapping {
161149 source_name : source_name. into ( ) ,
162150 canonical_name : canonical_name. into ( ) ,
0 commit comments