fix(render): fix clippy warnings
This commit is contained in:
parent
ca8ca3001d
commit
a70d9b6770
|
@ -40,7 +40,7 @@ pub fn determine_path_env_variable_override(explicit_shell: Option<MacShell>) ->
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
pub fn determine_path_env_variable_override(explicit_shell: Option<MacShell>) -> Option<String> {
|
pub fn determine_path_env_variable_override(_: Option<MacShell>) -> Option<String> {
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -97,8 +97,3 @@ fn launch_command_and_get_output(command: &str, args: &[&str]) -> Option<String>
|
||||||
let output_str = String::from_utf8_lossy(&output.stdout);
|
let output_str = String::from_utf8_lossy(&output.stdout);
|
||||||
Some(output_str.to_string())
|
Some(output_str.to_string())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(not(target_os = "macos"))]
|
|
||||||
fn launch_command_and_get_output(command: &str, args: &[&str]) -> Option<String> {
|
|
||||||
None
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user