mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Remove redundant .clone()
s
This commit is contained in:
parent
eeaca0b26d
commit
c44a2febe6
19 changed files with 31 additions and 35 deletions
|
@ -195,7 +195,7 @@ impl<S: FontSource> FontContext<S> {
|
|||
.get_font_instance(info.font_key, actual_pt_size);
|
||||
Ok(Font::new(
|
||||
handle,
|
||||
descriptor.to_owned(),
|
||||
descriptor,
|
||||
actual_pt_size,
|
||||
font_instance_key,
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue