Skip to content

Commit

Permalink
Remove unnecessary mut on variables declared in components/layout/b…
Browse files Browse the repository at this point in the history
…lock.rs
  • Loading branch information
leaexplores committed Sep 8, 2015
1 parent 0bc7ad9 commit bd07426
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/layout/block.rs
Expand Up @@ -2436,7 +2436,7 @@ pub trait ISizeAndMarginsComputer {

// Invariant: inline-start_margin + inline-size + inline-end_margin ==
// available_inline-size
let (inline_start_margin, mut inline_size, inline_end_margin) =
let (inline_start_margin, inline_size, inline_end_margin) =
match (inline_start_margin, computed_inline_size, inline_end_margin) {
// If all have a computed value other than 'auto', the system is over-constrained.
(MaybeAuto::Specified(margin_start),
Expand Down Expand Up @@ -2922,7 +2922,7 @@ impl ISizeAndMarginsComputer for InlineBlockNonReplaced {
block: &mut BlockFlow,
input: &ISizeConstraintInput)
-> ISizeConstraintSolution {
let (mut computed_inline_size,
let (computed_inline_size,
inline_start_margin,
inline_end_margin,
available_inline_size) =
Expand Down Expand Up @@ -2963,7 +2963,7 @@ impl ISizeAndMarginsComputer for InlineBlockReplaced {
MaybeAuto::Auto => false,
});

let (mut computed_inline_size,
let (computed_inline_size,
inline_start_margin,
inline_end_margin,
available_inline_size) =
Expand Down

0 comments on commit bd07426

Please sign in to comment.