aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/layout/flow.rs
diff options
context:
space:
mode:
authorGlenn Watson <gw@intuitionlibrary.com>2014-05-07 14:59:19 +1000
committerGlenn Watson <gw@intuitionlibrary.com>2014-05-07 14:59:19 +1000
commitb61d2328e20f21646389552b9fb395360a0c71a5 (patch)
tree43c93f15763a0fd99c998623b46a726d7485ad1d /src/components/main/layout/flow.rs
parent0bb838a58b80dfbf63d09342e15d0af45277d073 (diff)
downloadservo-b61d2328e20f21646389552b9fb395360a0c71a5.tar.gz
servo-b61d2328e20f21646389552b9fb395360a0c71a5.zip
Fix a few mutability warnings
Diffstat (limited to 'src/components/main/layout/flow.rs')
-rw-r--r--src/components/main/layout/flow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/main/layout/flow.rs b/src/components/main/layout/flow.rs
index 6be1e43adc6..bfedef8c1a8 100644
--- a/src/components/main/layout/flow.rs
+++ b/src/components/main/layout/flow.rs
@@ -581,7 +581,7 @@ impl Descendants {
/// Push the given descendants on to the existing descendants.
///
/// Ignore any static y offsets, because they are None before layout.
- pub fn push_descendants(&mut self, mut given_descendants: Descendants) {
+ pub fn push_descendants(&mut self, given_descendants: Descendants) {
for elem in given_descendants.descendant_links.move_iter() {
self.descendant_links.push(elem);
}