Remove redundant .clone()s

This commit is contained in:
Shotaro Yamada 2018-12-11 10:43:51 +09:00
parent eeaca0b26d
commit c44a2febe6
19 changed files with 31 additions and 35 deletions

View file

@ -143,7 +143,7 @@ impl FontHandleMethods for FontHandle {
let mut handle = FontHandle {
face: face,
font_data: template.clone(),
font_data: template,
handle: fctx.clone(),
can_do_fast_shaping: false,
};