chiark / gitweb /
dice: Note a todo
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 19 May 2022 12:17:46 +0000 (13:17 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 19 May 2022 18:58:10 +0000 (19:58 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
src/dice.rs

index 524d8d13ea460a2d6487f2fb5775141e5c4049fc..79833f6f52a55bb21563dba63492399abd6b021a 100644 (file)
@@ -506,6 +506,9 @@ impl InertPieceTrait for Die {
       default()
     };
 
+    // todo: Ideally we would use text_options.start_element
+    // but I don't see how to readily  make a template suitable for that
+
     let tc = OverlayTemplateContext {
       label_text: label,
       label_options: &self.text_options,