remove unused function
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
6a9c1c6065
commit
626e630c9b
@ -1002,12 +1002,6 @@ fn no_displays(displays: &Vec<Display>) -> bool {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
|
||||||
#[cfg(not(windows))]
|
|
||||||
fn no_displays(displays: &Vec<Display>) -> bool {
|
|
||||||
displays.is_empty()
|
|
||||||
}
|
|
||||||
|
|
||||||
#[cfg(all(windows, feature = "virtual_display_driver"))]
|
#[cfg(all(windows, feature = "virtual_display_driver"))]
|
||||||
fn try_get_displays() -> ResultType<Vec<Display>> {
|
fn try_get_displays() -> ResultType<Vec<Display>> {
|
||||||
let mut displays = Display::all()?;
|
let mut displays = Display::all()?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user