7bbcd005b3
Don't format!() string literals Prefer `to_string()` to `format!()` take 2, this time targetting string literals. In some cases (`&format!("...")` -> `"..."`) also removes allocations. Occurences of `format!("")` are changed to `String::new()`. |
||
---|---|---|
.. | ||
check | ||
coherence | ||
outlives | ||
variance | ||
astconv.rs | ||
Cargo.toml | ||
check_unused.rs | ||
collect.rs | ||
constrained_type_params.rs | ||
diagnostics.rs | ||
impl_wf_check.rs | ||
lib.rs | ||
namespace.rs | ||
README.md | ||
structured_errors.rs |
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc guide.