sim: Add doc comment to `make_tlv`
Document this function.
Signed-off-by: David Brown <david.brown@linaro.org>
diff --git a/sim/src/image.rs b/sim/src/image.rs
index bb964fa..5ef0e57 100644
--- a/sim/src/image.rs
+++ b/sim/src/image.rs
@@ -1652,6 +1652,8 @@
}
}
+/// Construct a TLV generator based on how MCUboot is currently configured. The returned
+/// ManifestGen will generate the appropriate entries based on this configuration.
fn make_tlv() -> TlvGen {
if Caps::EcdsaP224.present() {
panic!("Ecdsa P224 not supported in Simulator");