about summary refs log tree commit diff
path: root/src/libsyntax_ext
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-08-12 23:26:55 +0200
committerGitHub <noreply@github.com>2018-08-12 23:26:55 +0200
commitf1ae95f7e2bf39ec2d934fe8ed819be87cf777a1 (patch)
treef40dedd04ed89abfea85964670a31b641a62a0da /src/libsyntax_ext
parent0903b18e9f867a5a8e2418b1dd7212ccdb0c3816 (diff)
parent94c38568048b579c5a29768a8d4bacb8c9d687e1 (diff)
downloadrust-f1ae95f7e2bf39ec2d934fe8ed819be87cf777a1.tar.gz
rust-f1ae95f7e2bf39ec2d934fe8ed819be87cf777a1.zip
Rollup merge of #53223 - ljedrz:cleanup_data_structures, r=oli-obk
A few cleanups for rustc_data_structures

- remove a redundant `clone()`
- make some calls to `.iter()` implicit
- collapse/simplify a few operations
- remove some explicit `return`s
- make `SnapshotMap::{commit, rollback_to}` take references
- remove unnecessary struct field names
- change `transmute()`s in `IdxSet::{from_slice, from_slice_mut}` to casts
- remove some unnecessary lifetime annotations
- split 2 long literals
Diffstat (limited to 'src/libsyntax_ext')
0 files changed, 0 insertions, 0 deletions