layout: Refactor Flow::from_fragment-style constructors to be

consistent.
This commit is contained in:
Patrick Walton 2016-10-24 17:25:56 -07:00
parent e888b76534
commit be252371ea
11 changed files with 35 additions and 15 deletions

View file

@ -29,7 +29,7 @@ pub struct TableCaptionFlow {
impl TableCaptionFlow {
pub fn from_fragment(fragment: Fragment) -> TableCaptionFlow {
TableCaptionFlow {
block_flow: BlockFlow::from_fragment(fragment, None)
block_flow: BlockFlow::from_fragment(fragment),
}
}
}