From a7ca54a325c43c10a27415fc71b2f22d4093453f Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Wed, 5 Aug 2015 15:45:05 +0200 Subject: [PATCH] Fix unused mutability warnings. They were introduced in 35ba73112395fe97599b8661729b02cedea7609a. --- components/layout/generated_content.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout/generated_content.rs b/components/layout/generated_content.rs index 8bac6d0b973..a125c497d80 100644 --- a/components/layout/generated_content.rs +++ b/components/layout/generated_content.rs @@ -530,7 +530,7 @@ pub fn static_representation(list_style_type: list_style_type::T) -> char { /// Pushes the string that represents the value rendered using the given *alphabetic system* onto /// the accumulator per CSS-COUNTER-STYLES § 3.1.4. -fn push_alphabetic_representation(mut value: i32, system: &[char], accumulator: &mut String) { +fn push_alphabetic_representation(value: i32, system: &[char], accumulator: &mut String) { let mut abs_value = handle_negative_value(value, accumulator); let mut string: SmallVec<[char; 8]> = SmallVec::new(); @@ -548,7 +548,7 @@ fn push_alphabetic_representation(mut value: i32, system: &[char], accumulator: /// Pushes the string that represents the value rendered using the given *numeric system* onto the /// accumulator per CSS-COUNTER-STYLES § 3.1.5. -fn push_numeric_representation(mut value: i32, system: &[char], accumulator: &mut String) { +fn push_numeric_representation(value: i32, system: &[char], accumulator: &mut String) { let mut abs_value = handle_negative_value(value, accumulator); // Step 1.