Skip to content

Commit

Permalink
FIX YOU
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 committed Jun 19, 2024
1 parent 9e93107 commit a9c2e1b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/query/helper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,7 @@ pub trait QuerySelect: Sized {
/// "SELECT `cake`.`id`, `cake`.`name`, UPPER(`cake`.`name`) AS `name_upper` FROM `cake`"
/// );
/// ```
///
/// FIXME: change signature to `mut self`
fn expr_as<T, A>(&mut self, expr: T, alias: A) -> &mut Self
fn expr_as<T, A>(mut self, expr: T, alias: A) -> Self
where
T: Into<SimpleExpr>,
A: IntoIdentity,
Expand Down

0 comments on commit a9c2e1b

Please sign in to comment.