Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit c614a10

Browse files
committed
fix formatting
1 parent 4a41807 commit c614a10

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

server/src/dialect.rs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)