mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Auto merge of #6994 - servo:warnings, r=Manishearth
Fix unused mutability warnings.
They were introduced in 35ba731123
.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6994)
<!-- Reviewable:end -->
This commit is contained in:
commit
be8798b73a
1 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue