diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-02-21 12:35:42 +0100 |
---|---|---|
committer | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-03-30 13:52:32 +0200 |
commit | 09b2be24391d7543fe76c24c3cf790e915e0ff1a (patch) | |
tree | 63ffb7702c13c8f9566a13abeaf02c90758af27e /gcc/rust/ast/rust-ast.h | |
parent | 77216f03f283f1f2e36319a68f6cf248e6d4acb3 (diff) | |
download | gcc-09b2be24391d7543fe76c24c3cf790e915e0ff1a.zip gcc-09b2be24391d7543fe76c24c3cf790e915e0ff1a.tar.gz gcc-09b2be24391d7543fe76c24c3cf790e915e0ff1a.tar.bz2 |
libproc_macro: Minor refactor
Change some bits to make the code more idiomatic/clearer.
ChangeLog:
* librust/proc_macro/rust/bridge/literal.rs: Make byte range
clearer.
* librust/proc_macro/rust/bridge/token_stream.rs: Remove old
comment.
* librust/proc_macro/rust/token_stream.rs: Remove useless return
statement.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/rust/ast/rust-ast.h')
0 files changed, 0 insertions, 0 deletions