Skip to content

Commit

Permalink
Change deserialize_unique_kv access to private
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Dec 27, 2020
1 parent 5c9c82c commit ee9e147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/storage-plus/src/indexes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ where
}
}

pub(crate) fn deserialize_unique_kv<T: DeserializeOwned>(kv: KV) -> StdResult<KV<T>> {
fn deserialize_unique_kv<T: DeserializeOwned>(kv: KV) -> StdResult<KV<T>> {
let (_, v) = kv;
let t = from_slice::<UniqueRef<T>>(&v)?;
Ok((t.pk.into(), t.value))
Expand Down

0 comments on commit ee9e147

Please sign in to comment.