1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-02 14:07:46 +00:00

Remove tail return statements.

This commit is contained in:
Joseph Crail 2015-05-12 19:54:12 -04:00
parent 57050517f9
commit f502b187a7
5 changed files with 5 additions and 6 deletions

View file

@ -123,7 +123,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
expand(Options::new(matches));
return 0;
0
}
fn open(path: String) -> BufReader<Box<Read+'static>> {

View file

@ -352,5 +352,5 @@ fn existing_backup_path(path: &Path, suffix: &String) -> Path {
if test_path.exists() {
return numbered_backup_path(path);
}
return simple_backup_path(path, suffix);
simple_backup_path(path, suffix)
}

View file

@ -82,6 +82,5 @@ pub fn uumain(args: Vec<String>) -> i32 {
cores -= ignore;
}
println!("{}", cores);
return 0
0
}

View file

@ -109,7 +109,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
println!("{}", x);
}
return 0
0
}
// We use String as a representation of node here

View file

@ -114,7 +114,7 @@ pub fn uumain(args: Vec<String>) -> i32 {
unexpand(Options::new(matches));
return 0;
0
}
fn open(path: String) -> BufReader<Box<Read+'static>> {