]> git.lizzy.rs Git - rust.git/commitdiff
Merge #1491
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 5 Jul 2019 14:19:12 +0000 (14:19 +0000)
committerbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 5 Jul 2019 14:19:12 +0000 (14:19 +0000)
1491: More clippy r=matklad a=kjeremy

A few more clippy changes.

I'm a little unsure of the second commit. It's the trivially_copy_pass_by_ref lint and there are a number of places in the code we could use it if it makes sense.

Co-authored-by: Jeremy Kolb <kjeremy@gmail.com>
1  2 
crates/ra_hir/src/code_model.rs
crates/ra_hir/src/ty/infer.rs

Simple merge
Simple merge