diff options
author | Teddy Wing | 2021-04-12 23:01:22 +0200 |
---|---|---|
committer | Teddy Wing | 2021-04-12 23:01:22 +0200 |
commit | 0c8a97cd2f67481722a9c1eda6cea4d93a2955cf (patch) | |
tree | 78307a4a8b90fc9305d83560b6bdb6ceef5e1c83 /src/main.rs | |
parent | 5ac45fb0ed886c794410f91ff1e9fbabc9fc5517 (diff) | |
download | formurapid-0c8a97cd2f67481722a9c1eda6cea4d93a2955cf.tar.bz2 |
Add function documentation
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 5 |
1 files changed, 5 insertions, 0 deletions
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<P: AsRef<Path>>( data_path: P, output_path: P, @@ -140,6 +144,7 @@ fn generate_fill_helpers<P: AsRef<Path>>( Ok(()) } +/// Fill in `form` with values from `data_path` and write to `output_path`. fn fill<P: AsRef<Path>>( data_path: P, output_path: P, |