1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-29 12:07:46 +00:00

Fix some clippy warnings

This commit is contained in:
Sylvestre Ledru 2021-04-01 23:37:22 +02:00
parent 6734ce785d
commit dcbcf01665
9 changed files with 14 additions and 13 deletions

View file

@ -1,8 +1,11 @@
#![allow(dead_code)]
#[cfg(not(windows))]
use libc;
use std::env;
use std::ffi::{CString, OsStr};
#[cfg(not(windows))]
use std::ffi::CString;
use std::ffi::OsStr;
use std::fs::{self, File, OpenOptions};
use std::io::{Read, Result, Write};
#[cfg(unix)]