mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-18 15:53:00 +08:00
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:
parent
b048e5b280
commit
84e4389943
@ -4,7 +4,6 @@ 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,7 +3,6 @@ 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…
Reference in New Issue
Block a user