Ver Fonte

Minor chnages

Cesar Rodas há 1 ano atrás
pai
commit
8a40a261ac

+ 0 - 0
crates/storage/src/rocksdb/iterators.rs → crates/storage/src/rocksdb/iterator.rs


+ 2 - 2
crates/storage/src/rocksdb/mod.rs

@@ -1,5 +1,5 @@
 //! Rocks DB implementation of the storage layer
-use self::iterators::WrapperIterator;
+use self::iterator::WrapperIterator;
 use crate::{secondary_index::SecondaryIndex, Error, Storage};
 use nostr_rs_types::types::{Event, Filter, Tag};
 use rocksdb::{
@@ -8,7 +8,7 @@ use rocksdb::{
 };
 use std::{collections::VecDeque, ops::Deref, path::Path, sync::Arc};
 
-mod iterators;
+mod iterator;
 
 #[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
 enum ReferenceType {