Merge pull request #2701 from amyipdev/fix-warns
ignore style warnings in libs/scrap
This commit is contained in:
		
						commit
						609117c02e
					
				| @ -4,6 +4,7 @@ use std::{io, sync::RwLock, time::Duration}; | |||||||
| 
 | 
 | ||||||
| pub struct Capturer(Display, Box<dyn Recorder>, bool, Vec<u8>); | pub struct Capturer(Display, Box<dyn Recorder>, bool, Vec<u8>); | ||||||
| 
 | 
 | ||||||
|  | #[allow(non_upper_case_globals)] | ||||||
| pub const is_cursor_embedded: bool = true; | pub const is_cursor_embedded: bool = true; | ||||||
| 
 | 
 | ||||||
| lazy_static::lazy_static! { | lazy_static::lazy_static! { | ||||||
|  | |||||||
| @ -3,6 +3,7 @@ use std::{io, ops, time::Duration}; | |||||||
| 
 | 
 | ||||||
| pub struct Capturer(x11::Capturer); | pub struct Capturer(x11::Capturer); | ||||||
| 
 | 
 | ||||||
|  | #[allow(non_upper_case_globals)] | ||||||
| pub const is_cursor_embedded: bool = false; | pub const is_cursor_embedded: bool = false; | ||||||
| 
 | 
 | ||||||
| impl Capturer { | impl Capturer { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user