mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Remove redundant .clone()
s
This commit is contained in:
parent
eeaca0b26d
commit
c44a2febe6
19 changed files with 31 additions and 35 deletions
|
@ -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,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue