Skip to content

Commit

Permalink
Hide parsing function for tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
TimDiekmann committed Sep 18, 2024
1 parent 5031b24 commit c2ef8c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/hash-graph/libs/store/src/filter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ use crate::{
///
/// - If the token is not of the form `token`, `token()`, or `token(key=value)`
/// - If `token` can not be deserialized into `T`
pub fn parse_query_token<'de, T: Deserialize<'de>, E: de::Error>(
pub(crate) fn parse_query_token<'de, T: Deserialize<'de>, E: de::Error>(
token: &'de str,
) -> Result<(T, HashMap<&'de str, &'de str>), E> {
let Some((token, parameters)) = token.split_once('(') else {
Expand Down

0 comments on commit c2ef8c3

Please sign in to comment.