Add/fix up comments

This commit is contained in:
Vance Palacio 2022-02-26 21:11:29 +00:00
parent e2b06cb6e7
commit 6b9f450337
2 changed files with 2 additions and 1 deletions

View File

@ -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,
}

View File

@ -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<RustEdition>,