remove unnecessary allow block

Patch #2701 (609117c: "ignore style warnings in libs/scrap") was merged,
but the RustDesk team decided to later instead changed
is_cursor_embedded to uppercase (see discussion on the PR), thus no
longer triggering the warning and no longer needing the allow block.
This was changed in (b723f84: "fix linux to mac, keyboard input"). This
patch removes the now unnecessary allowances.

Signed-off-by: Amy Parker <apark0006@student.cerritos.edu>
Cc: fufseou <shuanglongchen@yeah.net>
This commit is contained in:
Amy Parker 2023-01-05 20:32:53 -08:00
parent b048e5b280
commit 84e4389943
No known key found for this signature in database
GPG Key ID: 23562CB7D56B039E
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 {