We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mod.rs in storage-plus/src/indexes contains what appears to be test helpers:
mod.rs
storage-plus/src/indexes
pub fn index_string(data: &str) -> Vec<u8> { data.as_bytes().to_vec() } pub fn index_tuple(name: &str, age: u32) -> (Vec<u8>, u32) { (index_string(name), age) } pub fn index_triple(name: &str, age: u32, pk: Vec<u8>) -> (Vec<u8>, u32, Vec<u8>) { (index_string(name), age, pk) } pub fn index_string_tuple(data1: &str, data2: &str) -> (Vec<u8>, Vec<u8>) { (index_string(data1), index_string(data2)) }
Maybe the test-specific parameters like age could use better names? Or maybe this code doesn't belong here?
age
The text was updated successfully, but these errors were encountered:
Yes, these must be defined in the test section.
Sorry, something went wrong.
@maurolacy Something like #709?
Successfully merging a pull request may close this issue.
mod.rs
instorage-plus/src/indexes
contains what appears to be test helpers:Maybe the test-specific parameters like
age
could use better names? Or maybe this code doesn't belong here?The text was updated successfully, but these errors were encountered: