Add/fix up comments
This commit is contained in:
parent
e2b06cb6e7
commit
6b9f450337
|
@ -631,7 +631,7 @@ pub struct Playground {
|
||||||
/// Display line numbers on playground snippets. Default: `false`.
|
/// Display line numbers on playground snippets. Default: `false`.
|
||||||
pub line_numbers: bool,
|
pub line_numbers: bool,
|
||||||
/// Set's the language the playground will work with
|
/// 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,
|
pub language: String,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -843,6 +843,7 @@ fn add_playground_pre(
|
||||||
.into_owned()
|
.into_owned()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Ensures proper formatting specifically for rust code
|
||||||
fn add_playground_pre_rust(
|
fn add_playground_pre_rust(
|
||||||
playground_config: &Playground,
|
playground_config: &Playground,
|
||||||
edition: Option<RustEdition>,
|
edition: Option<RustEdition>,
|
||||||
|
|
Loading…
Reference in New Issue