From a88e659e027d90fc3e4a0f89321ba7bdc49a9919 Mon Sep 17 00:00:00 2001 From: Pascal Seitz Date: Mon, 22 Apr 2024 19:14:27 +0800 Subject: [PATCH] make convert_to_fast_value_and_append_to_json_term pub --- src/core/json_utils.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/core/json_utils.rs b/src/core/json_utils.rs index f18fb7514..2a8553acb 100644 --- a/src/core/json_utils.rs +++ b/src/core/json_utils.rs @@ -253,10 +253,7 @@ fn index_json_value<'a, V: Value<'a>>( /// Tries to infer a JSON type from a string and append it to the term. /// /// The term must be json + JSON path. -pub(crate) fn convert_to_fast_value_and_append_to_json_term( - mut term: Term, - phrase: &str, -) -> Option { +pub fn convert_to_fast_value_and_append_to_json_term(mut term: Term, phrase: &str) -> Option { assert_eq!( term.value() .as_json()