diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-19 14:41:17 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-19 18:29:13 +0400 |
| commit | 3963f537a4182dbcd8e1e2f262ee105473facc56 (patch) | |
| tree | 942f802863d1f8f63bbe68b53ab2d091e3c7dda9 /src/utils/mod.rs | |
| parent | f31e105043a9fae0fae3dcfe0feb7ea1193d5f77 (diff) | |
| download | niri-3963f537a4182dbcd8e1e2f262ee105473facc56.tar.gz niri-3963f537a4182dbcd8e1e2f262ee105473facc56.tar.bz2 niri-3963f537a4182dbcd8e1e2f262ee105473facc56.zip | |
Wrap mapped windows in a Mapped
Diffstat (limited to 'src/utils/mod.rs')
| -rw-r--r-- | src/utils/mod.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/utils/mod.rs b/src/utils/mod.rs index 4902bd3a..acd37b20 100644 --- a/src/utils/mod.rs +++ b/src/utils/mod.rs @@ -20,10 +20,6 @@ pub mod watcher; pub static IS_SYSTEMD_SERVICE: AtomicBool = AtomicBool::new(false); -pub fn clone2<T: Clone, U: Clone>(t: (&T, &U)) -> (T, U) { - (t.0.clone(), t.1.clone()) -} - pub fn version() -> String { format!( "{} ({})", |
