renamed kvdb_memorydb::in_memory -> kvdb_memorydb::create

This commit is contained in:
debris 2017-10-15 16:17:15 +02:00
parent b562708407
commit bac1c54eac
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ pub struct InMemory {
/// Create an in-memory database with the given number of columns.
/// Columns will be indexable by 0..`num_cols`
pub fn in_memory(num_cols: u32) -> InMemory {
pub fn create(num_cols: u32) -> InMemory {
let mut cols = HashMap::new();
cols.insert(None, BTreeMap::new());