Skip to content

Commit

Permalink
make convert_to_fast_value_and_append_to_json_term pub
Browse files Browse the repository at this point in the history
  • Loading branch information
PSeitz committed Apr 22, 2024
1 parent 047da20 commit 0ab9125
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/core/json_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,10 +257,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<Term> {
pub fn convert_to_fast_value_and_append_to_json_term(mut term: Term, phrase: &str) -> Option<Term> {
assert_eq!(
term.value()
.as_json_value_bytes()
Expand Down

0 comments on commit 0ab9125

Please sign in to comment.