diff --git a/src/config.rs b/src/config.rs index 318e0c86..810d420e 100644 --- a/src/config.rs +++ b/src/config.rs @@ -631,7 +631,7 @@ pub struct Playground { /// Display line numbers on playground snippets. Default: `false`. pub line_numbers: bool, /// Set's the language the playground will work with - /// TODO: Turn this into an array when there's support for multiple languages + /// TODO: Use an array when there's support for multiple languages simultaneously pub language: String, } diff --git a/src/renderer/html_handlebars/hbs_renderer.rs b/src/renderer/html_handlebars/hbs_renderer.rs index 41bdac8e..f9f8be89 100644 --- a/src/renderer/html_handlebars/hbs_renderer.rs +++ b/src/renderer/html_handlebars/hbs_renderer.rs @@ -843,6 +843,7 @@ fn add_playground_pre( .into_owned() } +/// Ensures proper formatting specifically for rust code fn add_playground_pre_rust( playground_config: &Playground, edition: Option,