diff --git a/src/components/main/layout/box_.rs b/src/components/main/layout/box_.rs index 6abcf9ff035..aa61f75f7c1 100644 --- a/src/components/main/layout/box_.rs +++ b/src/components/main/layout/box_.rs @@ -1099,7 +1099,7 @@ impl Box { /// Otherwise the split information is returned. The right information is /// optional due to the possibility of it being whitespace. pub fn find_split_info_by_new_line(&self) - -> Option<(SplitInfo, Option, Arc<~TextRun> /* TODO: remove */)> { + -> Option<(SplitInfo, Option, Arc> /* TODO: remove */)> { match self.specific { GenericBox | IframeBox(_) | ImageBox(_) | TableBox | TableCellBox | TableRowBox | TableWrapperBox => None, @@ -1142,7 +1142,7 @@ impl Box { /// and right split information are both optional due to the possibility of /// them being whitespace. pub fn find_split_info_for_width(&self, start: CharIndex, max_width: Au, starts_line: bool) - -> Option<(Option, Option, Arc<~TextRun> /* TODO: remove */)> { + -> Option<(Option, Option, Arc> /* TODO: remove */)> { match self.specific { GenericBox | IframeBox(_) | ImageBox(_) | TableBox | TableCellBox | TableRowBox | TableWrapperBox => None,