mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
clippy: Fix several warnings (#31710)
Signed-off-by: RustAndMetal <111676747+RustAndMetal@users.noreply.github.com>
This commit is contained in:
parent
1ab8fa2895
commit
f6a975fc58
23 changed files with 75 additions and 86 deletions
|
@ -1081,7 +1081,7 @@ impl<'a> FlexItem<'a> {
|
|||
box_size,
|
||||
&pbm,
|
||||
);
|
||||
let cross_size = flex_context.vec2_to_flex_relative(size.clone()).cross;
|
||||
let cross_size = flex_context.vec2_to_flex_relative(size).cross;
|
||||
let fragments = replaced.contents.make_fragments(&replaced.style, size);
|
||||
FlexItemLayoutResult {
|
||||
hypothetical_cross_size: cross_size.into(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue