PdfCraft: An open-source PDF reader and editor written by scratch in pure Rust
test(ui): docstrings for the recovery tests' folder helper
Eric Kaden63510e29eb0e
diff --git a/crates/ui-egui/src/recovery.rs b/crates/ui-egui/src/recovery.rsindex c21e2366b..8870878ed 100644--- a/crates/ui-egui/src/recovery.rs+++ b/crates/ui-egui/src/recovery.rs@@ -435,12 +435,15 @@ mod idle_tests {std::fs::create_dir(&path).unwrap();Self(path)}++ /// The folder.fn path(&self) -> &Path {&self.0}}impl Drop for TestDir {+ /// Remove the folder and what the test left in it.fn drop(&mut self) {let _ = std::fs::remove_dir_all(&self.0);}