Minor housekeeping.
This commit is contained in:
@@ -84,8 +84,8 @@ pub struct ScriptFnMetadata<'a> {
|
||||
///
|
||||
/// Line doc-comments are kept in one string slice per line without the termination line-break.
|
||||
///
|
||||
/// Leading white-spaces are stripped, and each string slice always starts with the corresponding
|
||||
/// doc-comment leader: `///` or `/**`.
|
||||
/// Leading white-spaces are stripped, and each string slice always starts with the
|
||||
/// corresponding doc-comment leader: `///` or `/**`.
|
||||
#[cfg(feature = "metadata")]
|
||||
pub comments: Vec<&'a str>,
|
||||
/// Function access mode.
|
||||
|
@@ -621,8 +621,8 @@ impl Stmt {
|
||||
}
|
||||
/// Does this statement's behavior depend on its containing block?
|
||||
///
|
||||
/// A statement that depends on its containing block behaves differently when promoted
|
||||
/// to an upper block.
|
||||
/// A statement that depends on its containing block behaves differently when promoted to an
|
||||
/// upper block.
|
||||
///
|
||||
/// Currently only variable definitions (i.e. `let` and `const`), `import`/`export` statements,
|
||||
/// and `eval` calls (which may in turn call define variables) fall under this category.
|
||||
|
Reference in New Issue
Block a user