Skip to content

Commit 8614032

Browse files
committed
fix: format cl_storage.rs with cargo fmt
Signed-off-by: Hongze Gao <15101764808@163.com>
1 parent 816b7f7 commit 8614032

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

jupiter/src/storage/cl_storage.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,7 @@ impl ClStorage {
107107
sort_map.insert("updated_at", mega_cl::Column::UpdatedAt);
108108

109109
let sort_field = params.sort_by.as_deref();
110-
let has_valid_sort = sort_field
111-
.and_then(|field| sort_map.get(field))
112-
.is_some();
110+
let has_valid_sort = sort_field.and_then(|field| sort_map.get(field)).is_some();
113111

114112
let mut sorted_query = apply_sort(base_query, sort_field, params.asc, &sort_map);
115113

0 commit comments

Comments
 (0)