From 683148898a2e74d4b4a361a2abd1503d3931f70f Mon Sep 17 00:00:00 2001 From: Ananth Prathap <22am014@sctce.ac.in> Date: Sun, 2 Mar 2025 05:11:33 +0530 Subject: [PATCH] fix fmt issues --- diesel/src/sqlite/expression/functions.rs | 4 +++- diesel/src/sqlite/expression/helper_types.rs | 3 +-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/diesel/src/sqlite/expression/functions.rs b/diesel/src/sqlite/expression/functions.rs index 3cd4be31ab9a..28a50219ad80 100644 --- a/diesel/src/sqlite/expression/functions.rs +++ b/diesel/src/sqlite/expression/functions.rs @@ -806,7 +806,9 @@ extern "SQL" { /// ``` #[sql_name = "json_type"] #[cfg(feature = "sqlite")] - fn json_type>(j: J) -> J::Out; + fn json_type>( + j: J, + ) -> J::Out; /// The json_type(X,P) function returns the "type" of the element in X that is selected by path P. /// If the path P in json_type(X,P) selects an element that does not exist in X, then this function returns NULL. diff --git a/diesel/src/sqlite/expression/helper_types.rs b/diesel/src/sqlite/expression/helper_types.rs index 83a3b520a526..f963f6837900 100644 --- a/diesel/src/sqlite/expression/helper_types.rs +++ b/diesel/src/sqlite/expression/helper_types.rs @@ -57,5 +57,4 @@ pub type json_type = super::functions::json_type, E>; /// Return type of [`json_type(json, path)`](super::functions::json_type_with_path()) #[allow(non_camel_case_types)] #[cfg(feature = "sqlite")] -pub type json_type_with_path = - super::functions::json_type_with_path, J, P>; +pub type json_type_with_path = super::functions::json_type_with_path, J, P>;