From ee697a926d5773c2d8d2ac24e3daabaf0f514bad Mon Sep 17 00:00:00 2001 From: Matt Brubeck Date: Mon, 7 Aug 2017 17:02:07 -0700 Subject: [PATCH] Fix spelling of `bottom_up_flow` --- components/layout/parallel.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout/parallel.rs b/components/layout/parallel.rs index e1753d118037..16a68796ffb0 100644 --- a/components/layout/parallel.rs +++ b/components/layout/parallel.rs @@ -82,7 +82,7 @@ impl FlowParallelInfo { /// /// The only communication between siblings is that they both /// fetch-and-subtract the parent's children count. -fn buttom_up_flow(mut unsafe_flow: UnsafeFlow, +fn bottom_up_flow(mut unsafe_flow: UnsafeFlow, assign_bsize_traversal: &AssignBSizes) { loop { // Get a real flow. @@ -156,7 +156,7 @@ fn top_down_flow<'scope>(unsafe_flows: &[UnsafeFlow], // If there were no more children, start assigning block-sizes. if !had_children { - buttom_up_flow(*unsafe_flow, &assign_bsize_traversal) + bottom_up_flow(*unsafe_flow, &assign_bsize_traversal) } }