Skip to content

Commit

Permalink
fix(toml): Update frontmatter parser for RFC 3503 (#14792)
Browse files Browse the repository at this point in the history
### What does this PR try to resolve?

We removed rejected syntax in #13861 haven't update frontmatter parsing
to what [RFC
3503](https://rust-lang.github.io/rfcs/3503-frontmatter.html#reference-level-explanation)
says.

This adds tests and fixes various cases to ensure we correctly detect
the frontmatter and the infostring.

This is part of #12207

### How should we test and review this PR?

### Additional information
  • Loading branch information
ehuss authored Nov 15, 2024
2 parents ed31dad + 82836b0 commit 9c3c48f
Showing 1 changed file with 287 additions and 52 deletions.
Loading

0 comments on commit 9c3c48f

Please sign in to comment.