From 0c8a97cd2f67481722a9c1eda6cea4d93a2955cf Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Mon, 12 Apr 2021 23:01:22 +0200 Subject: Add function documentation --- src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index cc5b064..96c0f98 100644 --- a/src/main.rs +++ b/src/main.rs @@ -96,6 +96,10 @@ fn run() -> anyhow::Result<()> { } } +/// Generate files to fill in the form. +/// +/// Generates a TOML file at `data_path`, and a PDF with IDs entered in the +/// form's text fields in `output_path`. fn generate_fill_helpers>( data_path: P, output_path: P, @@ -140,6 +144,7 @@ fn generate_fill_helpers>( Ok(()) } +/// Fill in `form` with values from `data_path` and write to `output_path`. fn fill>( data_path: P, output_path: P, -- cgit v1.2.3