File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
lightning-background-processor/src Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -502,8 +502,7 @@ use core::task;
502
502
/// # use lightning_background_processor::{process_events_async, GossipSync};
503
503
/// # struct MyStore {}
504
504
/// # impl lightning::util::persist::KVStore for MyStore {
505
- /// # type Reader = io::Cursor<Vec<u8>>;
506
- /// # fn read(&self, namespace: &str, key: &str) -> io::Result<Self::Reader> { Ok(io::Cursor::new(Vec::new())) }
505
+ /// # fn read(&self, namespace: &str, key: &str) -> io::Result<Vec<u8>> { Ok(Vec::new()) }
507
506
/// # fn write(&self, namespace: &str, key: &str, buf: &[u8]) -> io::Result<()> { Ok(()) }
508
507
/// # fn remove(&self, namespace: &str, key: &str) -> io::Result<()> { Ok(()) }
509
508
/// # fn list(&self, namespace: &str) -> io::Result<Vec<String>> { Ok(Vec::new()) }
You can’t perform that action at this time.
0 commit comments