Merge pull request #2701 from amyipdev/fix-warns

ignore style warnings in libs/scrap
This commit is contained in:
RustDesk 2023-01-04 14:54:37 +08:00 committed by GitHub
commit 609117c02e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@ use std::{io, sync::RwLock, time::Duration};
pub struct Capturer(Display, Box<dyn Recorder>, bool, Vec<u8>);
#[allow(non_upper_case_globals)]
pub const is_cursor_embedded: bool = true;
lazy_static::lazy_static! {

View File

@ -3,6 +3,7 @@ use std::{io, ops, time::Duration};
pub struct Capturer(x11::Capturer);
#[allow(non_upper_case_globals)]
pub const is_cursor_embedded: bool = false;
impl Capturer {