refactor/polish ~ fix cargo clippy complaints (allow 'let_and_return')

This commit is contained in:
Roy Ivy III 2019-12-26 15:37:29 -06:00
parent a90e1abbd8
commit 44a60f773f

View file

@ -43,6 +43,7 @@ const SUMMARY: &str = "Print or set the system's host name.";
const LONG_HELP: &str = "";
pub fn uumain(args: Vec<String>) -> i32 {
#![allow(clippy::let_and_return)]
#[cfg(windows)]
unsafe {
let mut data = std::mem::uninitialized();