Break up 'types' module

This commit is contained in:
Juno Takano 2026-01-11 21:31:51 -03:00
commit db8c02df04
36 changed files with 382 additions and 329 deletions

View file

@ -1,8 +1,6 @@
use crate::syntax::content::parser::{
state::State,
token::{
Token, header::Header, paragraph::Paragraph, preformat::PreFormat,
},
State, Token,
token::{Header, Paragraph, PreFormat},
};
pub mod block;
@ -54,7 +52,7 @@ pub fn close(state: &State, tokens: &mut Vec<Token>) {
#[cfg(test)]
mod tests {
use crate::syntax::content::parser::{context::Block, state::State};
use crate::syntax::content::parser::{context::Block, State};
#[test]
#[should_panic(expected = "End of input with open list")]