Adopt and apply nightly clippy configuration
This commit is contained in:
parent
2e95c94f54
commit
5b5541c28f
33 changed files with 233 additions and 139 deletions
|
|
@ -17,9 +17,9 @@ pub fn parse(
|
|||
tokens: &mut Vec<Token>,
|
||||
iterator: &mut Peekable<Iter<'_, Lexeme>>,
|
||||
) -> bool {
|
||||
if let super::context::Block::PreFormat = state.context.block {
|
||||
return false;
|
||||
} else if let super::context::Inline::Code = state.context.inline {
|
||||
if matches!(state.context.block, super::context::Block::PreFormat)
|
||||
|| matches!(state.context.inline, super::context::Inline::Code)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue