Enforce no missing docs in all crates (+ add docs that were missing)
[rust-lightning] / lightning-persister / src / lib.rs
index 1b343ce164f508f7cb0e99adfc3fc5f391751fe0..3db95f35a955e3b46113761eae91e26b105c1086 100644 (file)
@@ -1,4 +1,7 @@
+//! Utilities that handle persisting Rust-Lightning data to disk via standard filesystem APIs.
+
 #![deny(broken_intra_doc_links)]
+#![deny(missing_docs)]
 
 mod util;
 
@@ -74,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()
        }