rust/src/librustc_target
kennytm e77d9955a0
Rollup merge of #53246 - ljedrz:cleanup_various, r=kennytm
A few cleanups

- change `skip(1).next()` to `nth(1)`
- collapse some `if-else` expressions
- remove a few explicit `return`s
- remove an unnecessary field name
- dereference once instead of matching on multiple references
- prefer `iter().enumerate()` to indexing with `for`
- remove some unnecessary lifetime annotations
- use `writeln!()` instead of `write!()`+`\n`
- remove redundant parentheses
- shorten some enum variant names
- a few other cleanups suggested by `clippy`
2018-08-14 23:59:12 +08:00
..
abi A few cleanups for rustc_target 2018-08-09 15:42:43 +02:00
spec Rollup merge of #53246 - ljedrz:cleanup_various, r=kennytm 2018-08-14 23:59:12 +08:00
build.rs Rename rustc_back::target to rustc_target::spec. 2018-04-26 16:39:44 +03:00
Cargo.toml rustc_target: move in syntax::abi and flip dependency. 2018-04-26 17:49:16 +03:00
lib.rs [nll] librustc_target: enable feature(nll) for bootstrap 2018-08-09 06:51:13 -04:00
README.md Rename rustc_back::target to rustc_target::spec. 2018-04-26 16:39:44 +03:00

librustc_target contains some very low-level details that are specific to different compilation targets and so forth.

For more information about how rustc works, see the rustc guide.