Fix doc comments.

This commit is contained in:
Stephen Chung
2022-08-10 12:48:37 +08:00
parent 8dc7137913
commit 255af006ee
8 changed files with 50 additions and 51 deletions

View File

@@ -31,7 +31,7 @@ bitflags! {
}
impl LangOptions {
/// Create a new [`Options`] with default values.
/// Create a new [`LangOptions`] with default values.
#[inline(always)]
pub fn new() -> Self {
Self::IF_EXPR | Self::SWITCH_EXPR | Self::STMT_EXPR | Self::LOOPING | Self::SHADOW | {