File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -272,6 +272,7 @@ pub fn dump_state(
272272 ) ) ) )
273273}
274274
275+ #[ allow( unused_variables) ]
275276pub async fn connect_to_ibus ( proxy : EventLoopProxy , platform_state : & PlatformState ) -> LocalResult {
276277 cfg_if:: cfg_if! {
277278 if #[ cfg( target_os = "linux" ) ] {
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ struct Unmanaged {
147147}
148148
149149#[ derive( Debug , Serialize ) ]
150- pub ( super ) struct PlatformStateImpl {
150+ pub struct PlatformStateImpl {
151151 #[ serde( skip) ]
152152 proxy : EventLoopProxy ,
153153 #[ serde( skip) ]
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ impl PlatformState {
104104 }
105105
106106 /// Returns the platform specific implementation.
107+ #[ allow( dead_code) ]
107108 pub fn inner ( & self ) -> Arc < PlatformStateImpl > {
108109 Arc :: clone ( & self . 0 )
109110 }
Original file line number Diff line number Diff line change @@ -640,9 +640,9 @@ mod tests {
640640
641641 #[ test]
642642 fn snapshot_themes_dir ( ) {
643- linux ! ( themes_dir( ) , @"/usr/share/fig/themes" ) ;
644- macos ! ( themes_dir( ) , @"/Applications/Amazon Q.app/Contents/Resources/themes" ) ;
645- windows ! ( themes_dir( ) , @r"C:\Users\$USER\AppData\Local\Fig\userdata\themes\themes" ) ;
643+ linux ! ( themes_dir( & Context :: new ( ) ) , @"/usr/share/fig/themes" ) ;
644+ macos ! ( themes_dir( & Context :: new ( ) ) , @"/Applications/Amazon Q.app/Contents/Resources/themes" ) ;
645+ windows ! ( themes_dir( & Context :: new ( ) ) , @r"C:\Users\$USER\AppData\Local\Fig\userdata\themes\themes" ) ;
646646 }
647647
648648 #[ test]
You can’t perform that action at this time.
0 commit comments