Merge pull request #2737 from amyipdev/remove-unnecessary-allow

remove unnecessary allow block
This commit is contained in:
RustDesk 2023-01-06 13:21:15 +08:00 committed by GitHub
commit 68af9673d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 2 deletions

View File

@ -4,7 +4,6 @@ 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,7 +3,6 @@ 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 {