mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 23:32:39 +00:00
refactor/polish ~ fix cargo clippy
complaints (allow 'let_and_return')
This commit is contained in:
parent
a90e1abbd8
commit
44a60f773f
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue