diff options
author | Simon Sapin <simon.sapin@exyr.org> | 2018-11-01 23:45:06 +0100 |
---|---|---|
committer | Simon Sapin <simon.sapin@exyr.org> | 2018-11-06 15:26:02 +0100 |
commit | 45f7199eee82c66637ec68287eafa40a651001c4 (patch) | |
tree | 8c0802f4ac7b89c2ce4d73063c8f65b9ee5face9 /components/layout/table_caption.rs | |
parent | 86f148fb97601413c0d983f21b760d973ade7a75 (diff) | |
download | servo-45f7199eee82c66637ec68287eafa40a651001c4.tar.gz servo-45f7199eee82c66637ec68287eafa40a651001c4.zip |
`cargo fix --edition`
Diffstat (limited to 'components/layout/table_caption.rs')
-rw-r--r-- | components/layout/table_caption.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/components/layout/table_caption.rs b/components/layout/table_caption.rs index df93326d5ce..2c43583cbce 100644 --- a/components/layout/table_caption.rs +++ b/components/layout/table_caption.rs @@ -5,20 +5,20 @@ //! CSS table formatting contexts. use app_units::Au; -use block::BlockFlow; -use context::LayoutContext; -use display_list::{BlockFlowDisplayListBuilding, DisplayListBuildState}; -use display_list::{StackingContextCollectionFlags, StackingContextCollectionState}; +use crate::block::BlockFlow; +use crate::context::LayoutContext; +use crate::display_list::{BlockFlowDisplayListBuilding, DisplayListBuildState}; +use crate::display_list::{StackingContextCollectionFlags, StackingContextCollectionState}; use euclid::Point2D; -use flow::{Flow, FlowClass, OpaqueFlow}; -use fragment::{Fragment, FragmentBorderBoxIterator, Overflow}; +use crate::flow::{Flow, FlowClass, OpaqueFlow}; +use crate::fragment::{Fragment, FragmentBorderBoxIterator, Overflow}; use gfx_traits::print_tree::PrintTree; use std::fmt; use style::logical_geometry::LogicalSize; use style::properties::ComputedValues; #[allow(unsafe_code)] -unsafe impl ::flow::HasBaseFlow for TableCaptionFlow {} +unsafe impl crate::flow::HasBaseFlow for TableCaptionFlow {} /// A table formatting context. #[repr(C)] @@ -93,7 +93,7 @@ impl Flow for TableCaptionFlow { .collect_stacking_contexts_for_block(state, StackingContextCollectionFlags::empty()); } - fn repair_style(&mut self, new_style: &::ServoArc<ComputedValues>) { + fn repair_style(&mut self, new_style: &crate::ServoArc<ComputedValues>) { self.block_flow.repair_style(new_style) } |