remove unused function

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-06-07 20:57:01 +08:00
parent 6a9c1c6065
commit 626e630c9b

View File

@ -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"))]
fn try_get_displays() -> ResultType<Vec<Display>> {
let mut displays = Display::all()?;