diff --git a/src/renderer/html_handlebars/hbs_renderer.rs b/src/renderer/html_handlebars/hbs_renderer.rs index 65ec2d43..a36fc83a 100644 --- a/src/renderer/html_handlebars/hbs_renderer.rs +++ b/src/renderer/html_handlebars/hbs_renderer.rs @@ -307,7 +307,9 @@ fn add_playpen_pre(html: String) -> String { format!("
{}", text) } else { // we need to inject our own main - format!("
#fn main() {{
+ format!("# #![allow(unused_variables)]
+#
+#fn main() {{
{}
#}}
", classes, code)
}