aboutsummaryrefslogtreecommitdiff
path: root/src/term
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2017-11-30 00:38:29 +0100
committerJoe Wilm <jwilm@users.noreply.github.com>2017-12-03 12:50:40 -0800
commitd552d28418ef192724b2b4353863708f31f325d4 (patch)
tree75c3946cc57180df816036cc22deca72fdf2afee /src/term
parented6595543b4034cb295761e1a6fb2c49762d554f (diff)
downloadalacritty-d552d28418ef192724b2b4353863708f31f325d4.tar.gz
alacritty-d552d28418ef192724b2b4353863708f31f325d4.zip
clippy: do and don't pass some things by reference as suggested (needless_pass_by_value, needless_borrow).
Diffstat (limited to 'src/term')
-rw-r--r--src/term/color.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/term/color.rs b/src/term/color.rs
index f1f53a98..0284bee9 100644
--- a/src/term/color.rs
+++ b/src/term/color.rs
@@ -20,7 +20,7 @@ impl<'a> From<&'a Colors> for List {
// Type inference fails without this annotation
let mut list: List = unsafe { ::std::mem::uninitialized() };
- list.fill_named(&colors);
+ list.fill_named(colors);
list.fill_cube();
list.fill_gray_ramp();