File: refactor-use-std-cell-OnceCell.patch

package info (click to toggle)
gnome-metronome 1.3.0-10
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 816 kB
  • sloc: makefile: 23; xml: 11; sh: 6
file content (22 lines) | stat: -rw-r--r-- 625 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: FineFindus <FineFindus@proton.me>
Date: Fri, 9 Jun 2023 11:02:47 +0200
Subject: refactor: use std::cell:OnceCell

(cherry picked from commit 6b8316ce7f645358dec29e7aa610067fa4849413)
---
 src/application.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/application.rs b/src/application.rs
index eb9f077..4f31edc 100644
--- a/src/application.rs
+++ b/src/application.rs
@@ -7,7 +7,7 @@ use gtk::{gio, glib};
 mod imp {
     use super::*;
     use glib::WeakRef;
-    use once_cell::sync::OnceCell;
+    use std::cell::OnceCell;
 
     #[derive(Debug, Default)]
     pub struct MtrApplication {