diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-28 02:40:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-28 02:40:34 +0200 |
| commit | 80045d65e111568f0fe2f5371a6d0f7d8c81b496 (patch) | |
| tree | e84585b4e5f58e77dd8ad0239e12d10897dabb0f /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | c4dd0d3bb70367273db9eee9e5fa6cb323a69547 (diff) | |
| parent | 86f011704c31f4eb1e7993e1951826bca46fe8f1 (diff) | |
| download | rust-80045d65e111568f0fe2f5371a6d0f7d8c81b496.tar.gz rust-80045d65e111568f0fe2f5371a6d0f7d8c81b496.zip | |
Rollup merge of #96421 - nnethercote:less-NoDelim, r=petrochenkov
Less `NoDelim` Currently there are several places where `NoDelim` (which really means "implicit delimiter" or "invisible delimiter") is used to mean "no delimiter". The name `NoDelim` is a bit misleading, and may be a cause. This PR changes these places, e.g. by changing a `DelimToken` to `Option<DelimToken>` and then using `None` to mean "no delimiter". As a result, the *only* place where `NoDelim` values are now produced is within: - `Delimiter::to_internal()`, when converting from `Delimiter::None`. - `FlattenNonterminals::process_token()`, when converting `TokenKind::Interpolated`. r? ````@petrochenkov````
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
