summaryrefslogtreecommitdiff
path: root/library/src/math/row.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-06-24 15:05:59 +0200
committerLaurenz <laurmaedje@gmail.com>2023-06-24 15:05:59 +0200
commitf1025071edfb787309a75d4bb68bec0c2bd906bb (patch)
treeb28d6cf05b8a8f29acbfb44093e3c9bface802b6 /library/src/math/row.rs
parentb96b7b7ee12a5d1c8e8c24c95b58b7ca03cec44b (diff)
Tidy up
Diffstat (limited to 'library/src/math/row.rs')
-rw-r--r--library/src/math/row.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/src/math/row.rs b/library/src/math/row.rs
index 1704dbf1..687f82b8 100644
--- a/library/src/math/row.rs
+++ b/library/src/math/row.rs
@@ -85,11 +85,11 @@ impl MathRow {
self.0.iter()
}
- /// It is very unintuitive, but in current state of things
- /// `MathRow` can contain several actual rows.
- /// That function deconstructs it to "single" rows.
+ /// Extract the sublines of the row.
///
- /// Hopefully that cloner is only a temporary hack
+ /// It is very unintuitive, but in current state of things, a `MathRow` can
+ /// contain several actual rows. That function deconstructs it to "single"
+ /// rows. Hopefully this is only a temporary hack.
pub fn rows(&self) -> Vec<Self> {
self.0
.split(|frag| matches!(frag, MathFragment::Linebreak))