1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 11:07:44 +00:00

refactor ~ remove outdated clippy attributes

This commit is contained in:
Roy Ivy III 2020-05-27 15:13:47 -05:00
parent fb5ab86aee
commit 923c47a408
7 changed files with 0 additions and 18 deletions

View file

@ -17,8 +17,6 @@ path = "src/base32.rs"
[dependencies] [dependencies]
uucore = { version="0.0.4", package="uucore", git="https://github.com/uutils/uucore.git", branch="canary", features = ["encoding"] } uucore = { version="0.0.4", package="uucore", git="https://github.com/uutils/uucore.git", branch="canary", features = ["encoding"] }
uucore_procs = { version="0.0.4", package="uucore_procs", git="https://github.com/uutils/uucore.git", branch="canary" } uucore_procs = { version="0.0.4", package="uucore_procs", git="https://github.com/uutils/uucore.git", branch="canary" }
## optional
clippy = { version = "0.0.212", optional = true }
[[bin]] [[bin]]
name = "base32" name = "base32"

View file

@ -20,10 +20,6 @@ uucore = { version="0.0.4", package="uucore", git="https://github.com/uutils/uuc
uucore_procs = { version="0.0.4", package="uucore_procs", git="https://github.com/uutils/uucore.git", branch="canary" } uucore_procs = { version="0.0.4", package="uucore_procs", git="https://github.com/uutils/uucore.git", branch="canary" }
walkdir = "2.2" walkdir = "2.2"
[dependencies.clippy]
version = "0.0.212"
optional = true
[[bin]] [[bin]]
name = "chown" name = "chown"
path = "src/main.rs" path = "src/main.rs"

View file

@ -4,8 +4,6 @@
// //
// For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code. // file that was distributed with this source code.
#![cfg_attr(feature = "clippy", feature(plugin))]
#![cfg_attr(feature = "clippy", plugin(clippy))]
// spell-checker:ignore (ToDO) COMFOLLOW Chowner Passwd RFILE RFILE's derefer dgid duid // spell-checker:ignore (ToDO) COMFOLLOW Chowner Passwd RFILE RFILE's derefer dgid duid

View file

@ -5,9 +5,6 @@
// For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code. // file that was distributed with this source code.
#![cfg_attr(feature = "clippy", feature(plugin))]
#![cfg_attr(feature = "clippy", plugin(clippy))]
// spell-checker:ignore (ToDO) BUFSIZE gecos fullname, mesg iobuf // spell-checker:ignore (ToDO) BUFSIZE gecos fullname, mesg iobuf
#[macro_use] #[macro_use]

View file

@ -17,8 +17,6 @@ path = "src/who.rs"
[dependencies] [dependencies]
uucore = { version="0.0.4", package="uucore", git="https://github.com/uutils/uucore.git", branch="canary", features=["utmpx"] } uucore = { version="0.0.4", package="uucore", git="https://github.com/uutils/uucore.git", branch="canary", features=["utmpx"] }
uucore_procs = { version="0.0.4", package="uucore_procs", git="https://github.com/uutils/uucore.git", branch="canary" } uucore_procs = { version="0.0.4", package="uucore_procs", git="https://github.com/uutils/uucore.git", branch="canary" }
## optional
clippy = { version = "0.0.212", optional = true }
[[bin]] [[bin]]
name = "who" name = "who"

View file

@ -5,9 +5,6 @@
// For the full copyright and license information, please view the LICENSE // For the full copyright and license information, please view the LICENSE
// file that was distributed with this source code. // file that was distributed with this source code.
#![cfg_attr(feature = "clippy", feature(plugin))]
#![cfg_attr(feature = "clippy", plugin(clippy))]
// spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr runlvline pidstr exitstr hoststr // spell-checker:ignore (ToDO) ttyname hostnames runlevel mesg wtmp statted boottime deadprocs initspawn clockchange curr runlvline pidstr exitstr hoststr
#[macro_use] #[macro_use]

View file

@ -1,8 +1,6 @@
#[macro_use] #[macro_use]
mod common; mod common;
// [warning fix]; from ref: <https://github.com/rust-lang/rust-clippy/issues/1938#issuecomment-374816813>
#[cfg_attr(feature = "cargo-clippy", allow(useless_attribute))]
#[allow(unused_imports)] #[allow(unused_imports)]
#[cfg(unix)] #[cfg(unix)]
#[macro_use] #[macro_use]