summaryrefslogtreecommitdiff
path: root/src/doc.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-02-12 22:04:27 +0100
committerLaurenz <laurmaedje@gmail.com>2023-02-12 22:04:27 +0100
commitfd90736fb6239409210f845a8589ba3d6b849ef3 (patch)
treec1993400b177f35b3622cc3fdf6c0f53d805bb69 /src/doc.rs
parentd99359dede8f366fc16d38c6166b97a0f56fe0cb (diff)
Support fractional width for `box`
Diffstat (limited to 'src/doc.rs')
-rw-r--r--src/doc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc.rs b/src/doc.rs
index 9fbd9436..64f7ae91 100644
--- a/src/doc.rs
+++ b/src/doc.rs
@@ -86,7 +86,7 @@ impl Frame {
}
/// Whether the frame has a non-default baseline.
- pub fn has_baseline(&mut self) -> bool {
+ pub fn has_baseline(&self) -> bool {
self.baseline.is_some()
}