diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-20 21:33:13 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-20 21:33:13 +0100 |
| commit | 84ba547c7c80e45cc8edafcde8714973bb2a3a2f (patch) | |
| tree | e5b7eb97799def1907f9138cbe1fa001060c0196 /src/layout | |
| parent | dd246e5bc944f90be7ba2981c2b73520a4bfbf45 (diff) | |
If expressions 🔀
Diffstat (limited to 'src/layout')
| -rw-r--r-- | src/layout/par.rs | 1 | ||||
| -rw-r--r-- | src/layout/stack.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/layout/par.rs b/src/layout/par.rs index 2a1ad941..3f971e12 100644 --- a/src/layout/par.rs +++ b/src/layout/par.rs @@ -95,7 +95,6 @@ impl<'a> ParLayouter<'a> { while !self.areas.current.fits(frame.size) { if self.areas.in_full_last() { // TODO: Diagnose once the necessary spans exist. - let _ = warning!("cannot fit frame into any area"); break; } else { self.finish_area(); diff --git a/src/layout/stack.rs b/src/layout/stack.rs index bfb93a94..7d1d7a12 100644 --- a/src/layout/stack.rs +++ b/src/layout/stack.rs @@ -80,7 +80,6 @@ impl<'a> StackLayouter<'a> { while !self.areas.current.fits(frame.size) { if self.areas.in_full_last() { // TODO: Diagnose once the necessary spans exist. - let _ = warning!("cannot fit frame into any area"); break; } else { self.finish_area(); |
