    f: &mut std::fmt::Formatter,
    tokens: TokenStream,
) -> std::fmt::Result {
    let mut tokens = tokens.into_iter().peekable();
    let mut joint = false;
    let mut first = true;
    let mut plain_comment = false;
    while let Some(tt) = tokens.next() {