mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-19 02:57:33 +00:00
![]() These two methods both produce a `MetaItemLit`, and then some of the call sites convert the `MetaItemLit` to a `token::Lit` with `as_token_lit`. This commit parameterises these two methods with a `mk_lit_char` closure, which can be used to produce either `MetaItemLit` or `token::Lit` directly as necessary. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |