style(info): fix formatting
This commit is contained in:
		
							parent
							
								
									8fe508bf93
								
							
						
					
					
						commit
						7529c9de38
					
				| 
						 | 
				
			
			@ -104,4 +104,4 @@ impl CocoaAppInfoProvider {
 | 
			
		|||
      None
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -42,7 +42,7 @@ pub trait AppInfoProvider {
 | 
			
		|||
pub struct AppInfo {
 | 
			
		||||
  pub title: Option<String>,
 | 
			
		||||
  pub exec: Option<String>,
 | 
			
		||||
  pub class: Option<String>,  
 | 
			
		||||
  pub class: Option<String>,
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#[cfg(target_os = "windows")]
 | 
			
		||||
| 
						 | 
				
			
			@ -69,4 +69,4 @@ pub fn get_provider() -> Result<Box<dyn AppInfoProvider>> {
 | 
			
		|||
pub fn get_provider() -> Result<Box<dyn AppInfoProvider>> {
 | 
			
		||||
  info!("using WaylandAppInfoProvider");
 | 
			
		||||
  Ok(Box::new(wayland::WaylandAppInfoProvider::new()))
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,7 +17,7 @@
 | 
			
		|||
 * along with espanso.  If not, see <https://www.gnu.org/licenses/>.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
use crate::{AppInfoProvider, AppInfo};
 | 
			
		||||
use crate::{AppInfo, AppInfoProvider};
 | 
			
		||||
 | 
			
		||||
pub(crate) struct WaylandAppInfoProvider {}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -88,4 +88,4 @@ impl X11AppInfoProvider {
 | 
			
		|||
      None
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user