From 45f7199eee82c66637ec68287eafa40a651001c4 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 1 Nov 2018 23:45:06 +0100 Subject: `cargo fix --edition` --- components/layout/table_row.rs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'components/layout/table_row.rs') diff --git a/components/layout/table_row.rs b/components/layout/table_row.rs index 236aeb42110..615f11bfed2 100644 --- a/components/layout/table_row.rs +++ b/components/layout/table_row.rs @@ -5,17 +5,17 @@ //! CSS table formatting contexts. use app_units::Au; -use block::{BlockFlow, ISizeAndMarginsComputer}; -use context::LayoutContext; -use display_list::{BlockFlowDisplayListBuilding, DisplayListBuildState}; -use display_list::{StackingContextCollectionFlags, StackingContextCollectionState}; +use crate::block::{BlockFlow, ISizeAndMarginsComputer}; +use crate::context::LayoutContext; +use crate::display_list::{BlockFlowDisplayListBuilding, DisplayListBuildState}; +use crate::display_list::{StackingContextCollectionFlags, StackingContextCollectionState}; use euclid::Point2D; -use flow::{EarlyAbsolutePositionInfo, Flow, FlowClass, ImmutableFlowUtils, GetBaseFlow, OpaqueFlow}; -use flow_list::MutFlowListIterator; -use fragment::{Fragment, FragmentBorderBoxIterator, Overflow}; +use crate::flow::{EarlyAbsolutePositionInfo, Flow, FlowClass, ImmutableFlowUtils, GetBaseFlow, OpaqueFlow}; +use crate::flow_list::MutFlowListIterator; +use crate::fragment::{Fragment, FragmentBorderBoxIterator, Overflow}; use gfx_traits::print_tree::PrintTree; -use layout_debug; -use model::MaybeAuto; +use crate::layout_debug; +use crate::model::MaybeAuto; use serde::{Serialize, Serializer}; use std::cmp::max; use std::fmt; @@ -26,11 +26,11 @@ use style::computed_values::border_top_style::T as BorderStyle; use style::logical_geometry::{LogicalSize, PhysicalSide, WritingMode}; use style::properties::ComputedValues; use style::values::computed::{Color, LengthOrPercentageOrAuto}; -use table::{ColumnComputedInlineSize, ColumnIntrinsicInlineSize, InternalTable, VecExt}; -use table_cell::{CollapsedBordersForCell, TableCellFlow}; +use crate::table::{ColumnComputedInlineSize, ColumnIntrinsicInlineSize, InternalTable, VecExt}; +use crate::table_cell::{CollapsedBordersForCell, TableCellFlow}; #[allow(unsafe_code)] -unsafe impl ::flow::HasBaseFlow for TableRowFlow {} +unsafe impl crate::flow::HasBaseFlow for TableRowFlow {} /// A single row of a table. #[repr(C)] @@ -626,7 +626,7 @@ impl Flow for TableRowFlow { .collect_stacking_contexts_for_block(state, StackingContextCollectionFlags::empty()); } - fn repair_style(&mut self, new_style: &::ServoArc) { + fn repair_style(&mut self, new_style: &crate::ServoArc) { self.block_flow.repair_style(new_style) } -- cgit v1.2.3