mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-23 12:23:22 +00:00
![]() It's the same as `Delimiter`, minus the `Invisible` variant. I'm generally in favour of using types to make impossible states unrepresentable, but this one feels very low-value, and the conversions between the two types are annoying and confusing. Look at the change in `src/tools/rustfmt/src/expr.rs` for an example: the old code converted from `MacDelimiter` to `Delimiter` and back again, for no good reason. This suggests the author was confused about the types. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |