diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-11 09:39:17 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-11 09:39:28 +0300 |
| commit | 0044578681cee50fd7ad49fcb8d1e2ea53d85fe4 (patch) | |
| tree | 14549a3da03aa06ea2f210eae2911837e8ced75a /src/window | |
| parent | 0c09f2529b6b46e7070d9c038fba1e37532880d8 (diff) | |
| download | niri-0044578681cee50fd7ad49fcb8d1e2ea53d85fe4.tar.gz niri-0044578681cee50fd7ad49fcb8d1e2ea53d85fe4.tar.bz2 niri-0044578681cee50fd7ad49fcb8d1e2ea53d85fe4.zip | |
Fix new lifetime warnings
Diffstat (limited to 'src/window')
| -rw-r--r-- | src/window/mapped.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window/mapped.rs b/src/window/mapped.rs index ec7c67b8..0f39bef4 100644 --- a/src/window/mapped.rs +++ b/src/window/mapped.rs @@ -303,7 +303,7 @@ impl Mapped { self.credentials.as_ref() } - pub fn offscreen_data(&self) -> Ref<Option<OffscreenData>> { + pub fn offscreen_data(&self) -> Ref<'_, Option<OffscreenData>> { self.offscreen_data.borrow() } |
