aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_ty/src/traits/chalk.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-02 17:54:26 +0000
committerAleksey Kladov <[email protected]>2020-02-02 17:56:37 +0000
commit24ad1cce2c3cf2c0ce8288fc02c4c55529598990 (patch)
tree04241d931e7d2f57799a4ff28a11f020090def74 /crates/ra_hir_ty/src/traits/chalk.rs
parent856e4ba126ae776753f38c00593c02c4f43be510 (diff)
Avoid premature pessimization
The extra allocation for message should not matter here at all, but using a static string is just as ergonomic, if not more, and there's no reason to write deliberately slow code
Diffstat (limited to 'crates/ra_hir_ty/src/traits/chalk.rs')
0 files changed, 0 insertions, 0 deletions