mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-08-04 15:07:47 +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 = "";
|
const LONG_HELP: &str = "";
|
||||||
|
|
||||||
pub fn uumain(args: Vec<String>) -> i32 {
|
pub fn uumain(args: Vec<String>) -> i32 {
|
||||||
|
#![allow(clippy::let_and_return)]
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
unsafe {
|
unsafe {
|
||||||
let mut data = std::mem::uninitialized();
|
let mut data = std::mem::uninitialized();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue