Skip to content

Commit e28ef35

Browse files
committed
Simplify return type
1 parent bf790dd commit e28ef35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ fn run(command_name: &str) -> Result<Option<ExitStatus>> {
136136
}
137137
}
138138

139-
fn build(args: cli::Args, command_name: &str) -> Result<(ExitStatus)> {
139+
fn build(args: cli::Args, command_name: &str) -> Result<ExitStatus> {
140140
let verbose = args.verbose();
141141
let meta = rustc::version();
142142
let cd = CurrentDirectory::get()?;

0 commit comments

Comments
 (0)