Remove a comment that is no longer valid (#30806)

The update of `max_block_size` here no longer happens.
This commit is contained in:
Martin Robinson 2023-12-01 13:48:22 +01:00 committed by GitHub
parent cdbd60fe53
commit 20a73721de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2025,8 +2025,6 @@ impl TextRunLineItem {
}
fn layout(self, state: &mut LineItemLayoutState) -> Option<TextFragment> {
// This happens after updating the `max_block_size`, because even trimmed newlines
// should affect the height of the line.
if self.text.is_empty() {
return None;
}