Merge pull request #848 from TheBlueMatt/2021-03-doc-cleanups
[rust-lightning] / lightning-persister / src / lib.rs
index 2226bcba6095373f7ae3dc2f7b3db2f7cf5e034c..3db95f35a955e3b46113761eae91e26b105c1086 100644 (file)
@@ -1,3 +1,8 @@
+//! Utilities that handle persisting Rust-Lightning data to disk via standard filesystem APIs.
+
+#![deny(broken_intra_doc_links)]
+#![deny(missing_docs)]
+
 mod util;
 
 extern crate lightning;
@@ -72,6 +77,7 @@ impl FilesystemPersister {
                }
        }
 
+       /// Get the directory which was provided when this persister was initialized.
        pub fn get_data_dir(&self) -> String {
                self.path_to_channel_data.clone()
        }