1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-18 02:42:05 +03:00

gui: don't warn about wsl helper function on unix

Technically is only used on windows, but I'm fine with having
it built and tested on all platforms.
This commit is contained in:
Wez Furlong 2021-12-26 14:59:45 -07:00
parent ae9a47e8a6
commit 780756bea8

View File

@ -60,6 +60,7 @@ struct WslDistro {
/// by looking at the tabulated output headers, determining
/// where the columns are and then collecting the information
/// into a hashmap and then grokking from there.
#[allow(dead_code)]
fn parse_wsl_distro_list(output: &str) -> Vec<WslDistro> {
let lines = output.lines().collect::<Vec<_>>();