Skip to content

Commit 485fd8e

Browse files
committed
util(cksum): Fix non-idiomatic comments
1 parent 0e1be59 commit 485fd8e

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/uu/cksum/src/cksum.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,9 @@ mod options {
203203
pub const ZERO: &str = "zero";
204204
}
205205

206-
/***
207-
* cksum has a bunch of legacy behavior.
208-
* We handle this in this function to make sure they are self contained
209-
* and "easier" to understand
210-
*/
206+
/// cksum has a bunch of legacy behavior.
207+
/// We handle this in this function to make sure they are self contained
208+
/// and "easier" to understand
211209
fn handle_tag_text_binary_flags<S: AsRef<OsStr>>(
212210
args: impl Iterator<Item = S>,
213211
) -> UResult<(bool, bool)> {

src/uucore/src/lib/features/checksum.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,9 +1115,7 @@ fn process_checksum_file(
11151115
Ok(())
11161116
}
11171117

1118-
/***
1119-
* Do the checksum validation (can be strict or not)
1120-
*/
1118+
/// Do the checksum validation (can be strict or not)
11211119
pub fn perform_checksum_validation<'a, I>(
11221120
files: I,
11231121
algo_name_input: Option<&str>,

0 commit comments

Comments
 (0)