diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-10-14 19:24:12 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-10-14 20:42:44 +0400 |
| commit | 1831d689158e65779c45565760c0d9ca0516ee46 (patch) | |
| tree | c8924fe2e374784a4182a24ddc8b1a58ab18ab87 /src/layout.rs | |
| parent | d59fe3424374149ef99f7fac651e1425f5c75071 (diff) | |
| download | niri-1831d689158e65779c45565760c0d9ca0516ee46.tar.gz niri-1831d689158e65779c45565760c0d9ca0516ee46.tar.bz2 niri-1831d689158e65779c45565760c0d9ca0516ee46.zip | |
Fix assertion message
Diffstat (limited to 'src/layout.rs')
| -rw-r--r-- | src/layout.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout.rs b/src/layout.rs index b9b404ab..47ad7473 100644 --- a/src/layout.rs +++ b/src/layout.rs @@ -1042,7 +1042,7 @@ impl<W: LayoutElement> Layout<W> { for (idx, monitor) in monitors.iter().enumerate() { assert!( !monitor.workspaces.is_empty(), - "monitor monitor must have at least one workspace" + "monitor must have at least one workspace" ); assert!(monitor.active_workspace_idx < monitor.workspaces.len()); |
