move suffixed parsing into chomp_identifier_chain

This commit is contained in:
Luke Boswell 2024-03-22 19:19:59 +11:00
parent d988eadbb1
commit 370ac1e6b8
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
4 changed files with 43 additions and 17 deletions

View file

@ -999,7 +999,13 @@ fn markdown_to_html(
arena.reset();
match parse_ident(&arena, state, 0) {
Ok((_, Ident::Access { module_name, parts }, _)) => {
Ok((
_,
Ident::Access {
module_name, parts, ..
},
_,
)) => {
let mut iter = parts.iter();
match iter.next() {