From 8cf58de0a7cb4362ace30839a2c4720d9e29f2b3 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Wed, 27 May 2020 15:12:11 -0500 Subject: [PATCH] docs ~ polish/update comments --- src/bin/coreutils.rs | 14 ++++++-------- src/uu/base64/src/base64.rs | 1 - src/uu/cksum/build.rs | 16 +++++++--------- src/uu/cut/src/buffer.rs | 19 ++++++++----------- src/uu/cut/src/ranges.rs | 14 ++++++-------- src/uu/cut/src/searcher.rs | 14 ++++++-------- 6 files changed, 33 insertions(+), 45 deletions(-) diff --git a/src/bin/coreutils.rs b/src/bin/coreutils.rs index a5e1ab839..f76628520 100644 --- a/src/bin/coreutils.rs +++ b/src/bin/coreutils.rs @@ -1,11 +1,9 @@ -/* - * This file is part of the uutils coreutils package. - * - * (c) Michael Gehring - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ +// This file is part of the uutils coreutils package. +// +// (c) Michael Gehring +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. extern crate lazy_static; extern crate textwrap; diff --git a/src/uu/base64/src/base64.rs b/src/uu/base64/src/base64.rs index cfd31bf3d..595e2ece7 100644 --- a/src/uu/base64/src/base64.rs +++ b/src/uu/base64/src/base64.rs @@ -5,7 +5,6 @@ // // For the full copyright and license information, please view the LICENSE file // that was distributed with this source code. -// #[macro_use] extern crate uucore; diff --git a/src/uu/cksum/build.rs b/src/uu/cksum/build.rs index 4d4a639c6..a9edd0d59 100644 --- a/src/uu/cksum/build.rs +++ b/src/uu/cksum/build.rs @@ -1,12 +1,10 @@ -/* -* This file is part of the uutils coreutils package. -* -* (c) Alex Lyon -* (c) Michael Gehring -* -* For the full copyright and license information, please view the LICENSE -* file that was distributed with this source code. -*/ +// This file is part of the uutils coreutils package. +// +// (c) Alex Lyon +// (c) Michael Gehring +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. use std::env; use std::fs::File; diff --git a/src/uu/cut/src/buffer.rs b/src/uu/cut/src/buffer.rs index 3b211161e..7ee26612e 100644 --- a/src/uu/cut/src/buffer.rs +++ b/src/uu/cut/src/buffer.rs @@ -1,14 +1,11 @@ -/* - * This file is part of the uutils coreutils package. - * - * (c) Rolf Morel - * (c) kwantam - * substantially rewritten to use the stdlib BufReader trait - * rather than re-implementing it here. - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ +// This file is part of the uutils coreutils package. +// +// (c) Rolf Morel +// (c) kwantam +// * substantial rewrite to use the `std::io::BufReader` trait +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) SRes Newl diff --git a/src/uu/cut/src/ranges.rs b/src/uu/cut/src/ranges.rs index 254200edf..74fec08e6 100644 --- a/src/uu/cut/src/ranges.rs +++ b/src/uu/cut/src/ranges.rs @@ -1,11 +1,9 @@ -/* - * This file is part of the uutils coreutils package. - * - * (c) Rolf Morel - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ +// This file is part of the uutils coreutils package. +// +// (c) Rolf Morel +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. // spell-checker:ignore (ToDO) inval diff --git a/src/uu/cut/src/searcher.rs b/src/uu/cut/src/searcher.rs index 2394ca539..f0821ff3a 100644 --- a/src/uu/cut/src/searcher.rs +++ b/src/uu/cut/src/searcher.rs @@ -1,11 +1,9 @@ -/* - * This file is part of the uutils coreutils package. - * - * (c) Rolf Morel - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - */ +// This file is part of the uutils coreutils package. +// +// (c) Rolf Morel +// +// For the full copyright and license information, please view the LICENSE +// file that was distributed with this source code. #[derive(Clone)] pub struct Searcher<'a> {