mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
chore: convert comments to markdown docs
A lot of functions had reasonable description using `//` instead of `///`. This PR converts them to proper markdown and fixes a few minor styling issues.
This commit is contained in:
@@ -58,7 +58,7 @@ fn generate_split_args() -> String {
|
||||
args.join(" ")
|
||||
}
|
||||
|
||||
// Function to generate a random string of lines
|
||||
/// Function to generate a random string of lines
|
||||
fn generate_random_lines(count: usize) -> String {
|
||||
let mut rng = rand::rng();
|
||||
let mut lines = Vec::new();
|
||||
|
||||
@@ -49,7 +49,7 @@ fn generate_wc_args() -> String {
|
||||
args.join(" ")
|
||||
}
|
||||
|
||||
// Function to generate a random string of lines, including invalid ones
|
||||
/// Function to generate a random string of lines, including invalid ones
|
||||
fn generate_random_lines(count: usize) -> String {
|
||||
let mut rng = rand::rng();
|
||||
let mut lines = Vec::new();
|
||||
|
||||
Reference in New Issue
Block a user