mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 19:45:29 +00:00
fmt
This commit is contained in:
parent
8e43cd2afa
commit
c4f2f6fcb6
@ -45,9 +45,9 @@ pub fn cargo_bin() -> Command {
|
|||||||
/// ```
|
/// ```
|
||||||
pub fn create_files_in(dir: &Path, files: &[&str]) {
|
pub fn create_files_in(dir: &Path, files: &[&str]) {
|
||||||
for f in files {
|
for f in files {
|
||||||
std::fs::File::create(dir.join(f)).unwrap();
|
std::fs::File::create(dir.join(f)).unwrap();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Write random content to a file
|
/// Write random content to a file
|
||||||
pub fn write_random_content(file: &mut impl Write, rng: &mut impl RngCore) {
|
pub fn write_random_content(file: &mut impl Write, rng: &mut impl RngCore) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user