This repository was archived by the owner on Sep 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,10 @@ mod tests {
119119 impl DialectFunction < ( ) > for Uppercase {
120120 type Output = String ;
121121
122- fn execute ( self , _interpreter : & mut DialectInterpreter < ( ) > ) -> anyhow:: Result < Self :: Output > {
122+ fn execute (
123+ self ,
124+ _interpreter : & mut DialectInterpreter < ( ) > ,
125+ ) -> anyhow:: Result < Self :: Output > {
123126 Ok ( self . text . to_uppercase ( ) )
124127 }
125128 }
@@ -134,7 +137,10 @@ mod tests {
134137 impl DialectFunction < ( ) > for Concat {
135138 type Output = String ;
136139
137- fn execute ( self , _interpreter : & mut DialectInterpreter < ( ) > ) -> anyhow:: Result < Self :: Output > {
140+ fn execute (
141+ self ,
142+ _interpreter : & mut DialectInterpreter < ( ) > ,
143+ ) -> anyhow:: Result < Self :: Output > {
138144 Ok ( format ! ( "{}{}" , self . left, self . right) )
139145 }
140146 }
@@ -149,7 +155,10 @@ mod tests {
149155 impl DialectFunction < ( ) > for Add {
150156 type Output = i32 ;
151157
152- fn execute ( self , _interpreter : & mut DialectInterpreter < ( ) > ) -> anyhow:: Result < Self :: Output > {
158+ fn execute (
159+ self ,
160+ _interpreter : & mut DialectInterpreter < ( ) > ,
161+ ) -> anyhow:: Result < Self :: Output > {
153162 Ok ( self . a + self . b )
154163 }
155164 }
You can’t perform that action at this time.
0 commit comments